c# - PayPal SOAP API - Express Checkout - Error 10002 -
i'm trying connect website paypal sandbox in order use express checkout feature. i've used link reference keep getting 10002 error "security header not valid".
documentation has invalid credentials problem if made request manually through soapui returns "sucess", if use curl command works expected.
scenario: asp.net page 2 web references 1 https://www.sandbox.paypal.com/wsdl/paypalsvc.wsdl , https://www.paypalobjects.com/wsdl/paypalsvc.wsdl, given credentials username, password , signature can see in following code snippet:
using cloudshop.com.paypal.sandbox.www; namespace cloudshop { public static paypalapiaasoapbinding buildpaypalwebservice() { useridpasswordtype credentials = new useridpasswordtype() { username = cloudshopconf.paypalapiusername, password = cloudshopconf.paypalapipassword, signature = cloudshopconf.paypalapisignature }; paypalapiaasoapbinding paypal = new paypalapiaasoapbinding(); paypal.requestercredentials = new customsecurityheadertype() { credentials = credentials }; return paypal; }
right know how proceed debug. wrong?
some ideas:
check if using live-credentials sandbox account.
are using
https://api-3t.sandbox.paypal.com/2.0/
(especially -3t part) endpoint? you should using signature authentication.as usual, should step through every setting using: protocol, api endpoint, version, credentials etc. , compare you're manual soapui call information stored in shop configuration.
i found blog article on error might resolving issue.
Comments
Post a Comment