"Version not supported" in SOAP Request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I want to access paypal api with soap. Therefore I want to use gsoap with C++. Are there any alternatives? Because gSoap is not so well documented.
The simples approach for me is now, to do simple test requests. This gives „success“ back:
"curl https://api-3t.sandbox.paypal.com/nvp \
-s \
--insecure \
-d USER=mi-dick_api1.gmx.de \
-d PWD=XXXXXXXXXXXXXXX \
-d SIGNATURE=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX \
-d METHOD=SetExpressCheckout \
-d VERSION=98 \
-d PAYMENTREQUEST_0_AMT=10 \
-d PAYMENTREQUEST_0_CURRENCYCODE=USD \
-d PAYMENTREQUEST_0_PAYMENTACTION=SALE \
-d cancelUrl=https://example.com/cancel \
-d returnUrl=https://example.com/success"
TOKEN=EC%2d8PR459601E5516846&TIMESTAMP=2017%2d11%2d11T11%3a44%3a00Z&CORRELATIONID=df58fa2de669&ACK=Success&VERSION=98&BUILD=40680762%
When I want to do a request with curl, I use this command, using the request-xml generated from wsdl.
'curl --header "Content-Type: text/xml;charset=UTF-8" --header "SOAPAction:ns1:GetBalanceReq" --data ATPayPalAPISoapBinding.GetBalance.req-Dev.xml https://api-3t.sandbox.paypal.com/2.0/'
(Had to replace the @ after --data)
I get this error:
"Version is not supported"
I even tried several different Versions (88, 95, 204 as descirbe here: https://github.com/ianfleeton/paypal-express/commit/cebd62f02966f74a8aa3ece5d1793be9327048a0)
But no success. Any hints, what I am doing wrong?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The newest version of NVP/SOAP API is Version 204.
There are certain API Operations that are no longer supported, which can cause a version not supported error message as well.
Here is a listing of API Operations and what versions do not support them:
Here is the documentation on the SOAP SetExpressCheckout API Operation.
Thanks,
Jennifer

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- where does paypal payments go to if there is no linked phone or email to the seller ? in PayPal Payments Standard
- My PayPal is not allowing me to receive or send requests. in PayPal Payments Standard
- p is not a function error using the example downloaded from Paypal in SDKs
- Django-paypal form is not showing "pay with credit or debit card" option in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)
- subscription_id has disappeared in REST APIs