why my paypal api call fail with error Version is not supported?

daxu7509
Contributor
Contributor

My paypal api was running ok but recently got error. I logged the detail and it shows Version is not supported.

However, I do see the Review your information page and the pay now button, the error only happens after I click the pay now button.

I then tried the curl example for paypal's doc site:

curl -s --insecure https://api-3t.sandbox.paypal.com/nvp -d "USER=platfo_1255077030_biz_api1.gmail.com&PWD=1255077037&SIGNATURE=Abg0gYcQyxQvnf2HDJkKtA-p6pqhA1k-KTYE0Gcy1diujFio4io5Vqjf&METHOD=SetExpressCheckout&VERSION=121.0&PAYMENTREQUEST_0_PAYMENTACTION=SALE&PAYMENTREQUEST_0_AMT=19&PAYMENTREQUEST_0_CURRENCYCODE=USD&cancelUrl=http://www.example.com/cancel.html&returnUrl=http://www.example.com/success.html"

and it indeed return success when I used my parameters, (only return version not supported when I put a rubbish version like 1000), so I am really confused on why there is an error?

Can someone help?

Many Thanks

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.