August 13, 2013 at 12:17 am #9470
Below are the instructions on how to enable PayPal PDT in your account.
Note: You need a PayPal business or premier account to use PayPal PDT (upgrading from a personal PayPal account is free).
Step 1) Log into your PayPal account.
Step 2) Go to
My Account -> Profile
Step 3) Click on selling tools link.
Step 4) Check the selling online section.
Step 5) Look for “Website Preferences” and click the “Update” link on the far right hand corner of this row.
The following image shows you where to click in your PayPal account to get to the Website Preferences menu:
Step 6) You are now on the “Website Preferences” menu.
a) Turn on the “Auto Return” for Website Payments
b) Enter a URL in the Return URL field (your thank you page URL)
c) Scroll down to Payment Data Transfer and enable it.
d) Scroll to the bottom of the page and click the Save button
e) PayPal will give a success message and show you your PDT ID Token
f) Copy the paypal PDT ID token and use it where you need to specify it.August 26, 2013 at 10:45 pm #57112
Should I open another issue. I follow your step in the previous message to get the PDT along with http://www.tipsandtricks-hq.com/wordpress-affiliate/plain-paypal-button-and-affiliate-plugin-integration-168
But it doesn’t seem to work. I noticed during testing that PayPal doesn’t send me to the thank you page I set up. Eventhough I specified it in website preference within PayPal as well as settings within the Affiliate ap.August 27, 2013 at 12:18 am #57113wpCommerceParticipant
Hi, are you making the payment using a credit card (without logging into your PayPal account)?August 27, 2013 at 1:12 pm #57114
Correct, when I am on the PayPal page, I’m just putting in a credit card. Do I need to login to a PayPal account to make the purchase in order for the referral stuff to work?August 27, 2013 at 11:17 pm #57115
The referral stuff will work regardless (when you land on the thank you page).
PayPal just doesn’t do the auto redirect when the payment is made via a credit card. You have to click a link on that page to get redirected to the Thank you page (its how PayPal designed their checkout flow for credit card payment).
So here is the checkout flow for the two different payment methods and how PDT will work:
1) Customer pays via paypal account -> Gets automatically redirected to your thank you page
2) Customer pay via a credit card -> Gets shown a receipt page on Paypal -> The customer clicks a link on this page and gets sent to your thank you pageAugust 28, 2013 at 4:39 pm #57116
It worked. Wow I did not know about this caveat. I don’t recall this being told on the WP Affiliate plugins page. So the only way for someone to get a commision is if the buyer clicks on the return to website link on PayPal? No way to automate it to the thank you page?August 29, 2013 at 1:53 am #57117
The plugin will only give commission after a confirmed payment. It can only verify a payment when PayPal gives it the transaction data. Now, with PayPal PDT it works like the way I explained above (that is how PayPal designed it to work).
You also have the option to NOT use the PDT option and we have support for that too. That is where the 2nd integration method comes in which uses IPN (instead of PDT). When you use that option the transaction data is verified using a different method and the plugin doesn’t have to rely on the user landing on the thank you page. Check the details on our documentation here:June 19, 2014 at 6:55 pm #57118sailor33Member
I have already a return url specified for another website/product. Is there away around that? I cannot define a second URL, but might it be possible to overwrite this value with the final request that is made when a customer buys from my new site/product?June 20, 2014 at 12:38 am #57119
You don’t need to change the “Return URL” value that you have already specified in your PayPal account for that other website.
Simply specify the “Return URL” value in eStore’s settings and the eStore plugin will work smartly and override it on the transactions that your customers do via eStore only. The rest will stay as it.March 9, 2017 at 7:31 pm #57120kirkthomas704Member
I am having trouble finding the PDT token on the new paypal layout. Does this require a business account or are there new instructions for the new PayPal website?March 9, 2017 at 7:32 pm #57121kirkthomas704Member
I am having trouble finding the PDT token on the new paypal layout. Does this require a business account or are there new instructions for the new PayPal website?March 9, 2017 at 7:42 pm #57122wzpModerator
Please read the first part of this post:August 21, 2019 at 5:31 pm #57123ACTIMOMESMember
Paypal has changed a lot since your tutorial to find the paypal token id. Could you please update?
I can not guarantee the payment of my affiliates via paypal without it.
best regardAugust 21, 2019 at 11:27 pm #57124wzpModerator
This was last updated in February 2019:August 23, 2019 at 7:40 am #57125ACTIMOMESMember
Thank you it’s perfect !
- You must be logged in to reply to this topic.