Created
November 19, 2015 10:55
-
-
Save eniuz/f809e0299be405fe471f to your computer and use it in GitHub Desktop.
curl paypal nvp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s --insecure https://api-3t.sandbox.paypal.com/nvp -d | |
"USER={YourUserID} | |
&PWD={YourPassword} | |
&SIGNATURE={YourSignature} | |
&METHOD=SetExpressCheckout | |
&VERSION=98 | |
&PAYMENTREQUEST_0_AMT=10 | |
&PAYMENTREQUEST_0_CURRENCYCODE=USD | |
&PAYMENTREQUEST_0_PAYMENTACTION=SALE | |
&cancelUrl=http://www.example.com/cancel.html | |
&returnUrl=http://www.example.com/success.html" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment