Need Help With Express Checkout Implementation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm currently using Layout C and I'm able to have it appear in my web app. I'm able to successfully pay with Credit Card and it will go to the success URL. However, I'm trying to work with the express checkout as well. For some reason, when I produce the secure token via pilot.payflow, the pilot.payflow Express checkout doesn't work. It says the secure token has already been used. But when I change both links to payflow, it works. It takes me to the sandbox checkout. However when I finish, it tries to re-direct me to the pilot. There was also a time where I changed the Tender=S (this shouldn't have worked) but it did. Both of them were working oddly. And then I tried playing around with other Tender choices (C/P) the P would automatically load the checkout but then it'd bomb out for some reason. I tried changing it back to S but now the Express Checkout isn't working anymore. Can I get some assistance on implementing this?
My API call:
const response = await fetch("https://pilot-payflowpro.paypal.com", {
method: "POST",
headers: {
"Content-Type": "application/x-www-form-urlencoded",
},
body: `PARTNER=<PARTNER>&PWD=<PW>!&VENDOR=<VENDOR>&USER=<VENDOR>&TENDER=S&ACCT=5105105105105100&TRXTYPE=S&EXPDATE=1234&AMT=1.01&CREATESECURETOKEN=Y&SECURETOKENID=${uuid}`,
});
<iframe
src={`https://pilot-payflowlink.paypal.com/?SECURETOKEN=${secureToken}&SECURETOKENID=${uuid}`}
width="600"
height="400"
frameBorder="0"
allowtransparency="true"
></iframe>;

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- PayPal Express Error #10413 when people use a discount code on my Magento2 store in PayPal Payments Standard
- ExpressCheckout to REST API - Is Partner Program Now Required to Host Simple 3rd Party Transactions? in REST APIs
- permission_denied response in call to patch order when paying by Card in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Unable to test successful payments using sandbox personal accounts in NVP/SOAP APIs
- will new changes to API just announced break integration with our express checkout in NVP/SOAP APIs