0

I'm trying to integrate PayPal payments pro express checkout. I've used the following code:

https://www.x.com/paypal-apis-getexpresscheckoutdetails-php-5.3/nvp

I entered my Api credentials and also turned on the relevant website preferences, but I keep getting the error, token is not received. Does anyone know what the problem could be? I'm lost.

1
  • I should also add that I tried the SOAP version and could not get that to work either. Sep 2, 2012 at 18:40

1 Answer 1

0

From the comments of that script:

/**
 * This example assumes that this is the return URL in the SetExpressCheckout API call.
 * The PayPal website redirects the user to this page with a token.
 */

From what I understand, you need to direct the user to PayPal first, and send the return_url to point to this script. Then after the user has paid, he will be redirected to this script.

1
  • I'll look into it. I thought the purpose of PayPal Payments Pro was to not have them leave your website ever. Sep 2, 2012 at 19:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.