Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate General Questions › WP Affiliate and Paypal subscription commission question
Tagged: paypal subscriptions, recurring
- This topic has 11 replies, 2 voices, and was last updated 10 years, 10 months ago by admin.
-
AuthorPosts
-
December 26, 2013 at 5:02 pm #10295sitesuccessMember
Hi, I used options 2, described here:
It logs the first installment of the subscription, and grant commission accordingly.
Will it log customer monthly payments, and grant commissions to relevant affiliate automatically?
thanks and happy holidays
December 26, 2013 at 10:42 pm #59870adminKeymasterYes it will. The 2nd PayPal integration option works for recurring commission also.
December 29, 2013 at 9:45 am #59871sitesuccessMemberThanks.
Does it depend on Cookie lifetime settings or just as long as the subscriber pays, commissions will be calculated?
December 29, 2013 at 11:06 pm #59872adminKeymasterAs long as the subscriber pays, commission will be given to the original affiliate.
January 2, 2014 at 2:18 pm #59873sitesuccessMembera subscriber made a payment but i cant see the commission in the system
January 2, 2014 at 10:03 pm #59874adminKeymasterOk that means your setup is wrong somewhere. Please share the page where you have your subscription button. Did you have debug option enabled in the affiliate plugin?
January 3, 2014 at 6:51 am #59875sitesuccessMembermy customers go directly to paypal’s payment page:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BDDZ7NXEDBAPE
I’ve set this in the advanced variables field:
notify_url=http://www.sitesuccess.co.il/wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php
custom=[wp_aff_custom_args]
First payment is logged correctly in the commission, second one didn’t.
I don’t have debug option enabled, but I enabled it now.
I’ve set a sample page for you to test my funnel:
[http://www.sitesuccess.co.il/affiliate-test?ap_id=sitess]
(after filling the form you’re redirected to paypal)
Do you need any other details?
January 3, 2014 at 10:46 pm #59876adminKeymasterokay thats the issue. There has to be a PayPal button on the page that the user clicks. Thats why we talk about a PayPal button on our documentation here:
The affiliate ID will only get transferred to the custom field when the PayPal button is rendering on that page. You can’t just do some custom coding to send the user to the checkout page using a link (the affiliate ID won’t get added to the custom field in that case). You need to do exactly what the documentation says.
What you can do is, send the user to another page that has the PayPal button after they fill in the squeeze form. So the flow will be like this:
1) The users land on your squeeze page.
2) Fill in the form then they get sent to another page where there is a paypal button.
3) They click the button to make the payment.
January 5, 2014 at 1:07 pm #59877sitesuccessMemberok, but if the affiliate id is not added, how was it added in the first installment?
as I mentioned before, the first payment is associated to an affiliate, second payment one isn’t
if I have no other choice I will think how to make my funnel
January 5, 2014 at 10:58 pm #59878adminKeymasterThe first time payment commission can be given using the PDT (when the user lands on your thank you page after payment). The recurring payments doesn’t have PDT. It only has IPN and if the affiliate ID is not added then it won’t be present in the IPN.
January 6, 2014 at 6:53 am #59879sitesuccessMemberI’m starting to think the problem isn’t with how I implemented it but with Paypal.
I started getting warning notifications that IPN is sent to this wrong URL:
[http://www.sitesuccess/wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php]
I obviously checked that Advanced Variables field in button settings shows the correct URL.
I will talk with them to see why it is happening.
However from your things, I guess I don’t have any choice.
Can you please visit this link and start buying? I want to check if your way works:
[http://www.sitesuccess.co.il/affiliate-test?ap_id=sitess]
There will be a 9 ILS payment and a 67 ILS payment after a day (I will refund of course)
Thanks
January 6, 2014 at 11:17 pm #59880adminKeymasterThe paypal button setup is good now. When I go to the page with the PayPal button, I can see the following value for the “custom” field:
ap_id=sitess&ip=110.33.205.173
See how it is adding the affiliate ID to the custom field of the button? That means, it will be stored with this transaction and sent to the IPN handling script.
The other issue you have is that the following URL is not accessible on your server. If you enter the following URL in the browser’s address bar, you will see the issue yourself:
[http://www.sitesuccess/wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php]
correct that on your hosting site so the above URL is accessible and then you are ready to do a test transaction.
-
AuthorPosts
- You must be logged in to reply to this topic.