PayPal Fetch Token

Posted by arik-so on Stack Overflow See other posts from Stack Overflow or by arik-so
Published on 2010-05-16T18:34:36Z Indexed on 2010/05/16 18:40 UTC
Read the original article Hit count: 260

Filed under:
|
|
|
|

Hello,

I am using the PayPal API for Express Checkout Integration. Upon setting the Express Checkout, one gets to a page with a token, like this page:

https://api-3t.sandbox.paypal.com/nvp

The token looks more or less like that

ACK=Failure&L_ERRORCODE0=81002&L_SHORTMESSAGE0=Unspecified%20Method&L_LONGMESSAGE0=Method%20Specified%20is%20not%20Supported&L_SEVERITYCODE0=Error

My Question is: how do I fetch this toke by means of PHP? I do not want to be redirected to that page beforehand. How do I just fetch the contents of a remote file after passing certain post parameters?

Thanks in advance!

© Stack Overflow or respective owner

Related posts about paypal

Related posts about fetch