I’ve setup a test account for PayPal Payflow Pro, but I’m having authentication issues. Unless i’m using cURL, the api returns “User authentication failed”. I am sure I’m passing the same information as I’ve copied and pasted from the working cURL to PostMan and .net. Am trying to replicate an example API call from:
https://developer.paypal.com/docs/payflow/gs-ppa-hosted-pages/#make-your-first-call
I’d appreciatie any help with this.
Postman failure:
.Net failure:
2
Answers
In case anyone wants to see exactly how I changed Postman and .net to work. Thanks again to Preston PHX!
Text Body: PARTNER=PayPal&VENDOR=&USER=&PWD=&TRXTYPE=S&AMT=40&CREATESECURETOKEN=Y&SECURETOKENID=
.Net Code:
Are there any special characters in your password?
Try using length tags for your NVP parameters: https://developer.paypal.com/docs/payflow/integration-guide/simple-transaction/#use-special-characters-in-values
Also make sure the SecureTokenID is unique in every request
Also don’t think you should be URL encoding values for Payflow