cancel
Showing results for 
Search instead for 
Did you mean: 

What is "TOKEN", and how to find it in my Paypal profile?

Member

What is "TOKEN", and how to find it in my Paypal profile?

I am running a site, selling points and collecting money through paypal. Clients can pay and I can receive money in my paypal account. However, my client didn't get the points with the system. 

 

By googling the old , I guess the problem may be that I need to get a series of number called "TOKEN" and write it in my site. Then the site will connect to my paypal account. But where to find the "TOKEN"?

3 REPLIES
Volunteer Advisor

Re: What is "TOKEN", and how to find it in my Paypal profile?

The TOKEN would be used with Express Checkout. Is that what you've used to do the integration in your site?

If you had a bad token the API calls would fail, so if it looks like it's working for the customer then you must have a problem with your error handling.

Please verify exactly how you have integrated your payments (ie. PayPal Standard, Express Checkout, Payments Pro) and then I can try to help you more.

Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
Member

Re: What is "TOKEN", and how to find it in my Paypal profile?

Hello Thanks for replying me. I am running a site selling points so after the purchase, the user should have the points added to his account in my site. I figured out I should turn on "Payment Data Transfer" and Copy the "Identity Token" from my selling tools in Paypal, then paste the token on my site. So the clients can get their points incremented on my site after made purchase. 

 

The article I referred to seems a bit old :  <removed>

It works but I would like to know if anything has been updated?

 

Highlighted
Volunteer Advisor

Re: What is "TOKEN", and how to find it in my Paypal profile?

Okay, so the token you're referring to is for PDT. Unfortunately, that is not going to be the best solution for what you're doing.

 

PDT depends on the user making it back to the Return URL you have specified. Even with Auto-Return enabled, there is no guarantee the user will make it back to this page. If they don't, the code would never run to update your points.

 

To fix this, you should use IPN instead. This is very similar to PDT, but it happens separate from the checkout flow, and will be triggered regardless of whether the person makes it back to your site or not.

Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!