Advanced Card Payments(Card Details, Address Details to be on our website)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello All,
We are looking to accept payments using Credit/Debit cards from our ecommerce website. We don't want the customer to navigate to paypal and do that, we have our page(where we have personal details, billing address and card details). All we need is to post this data securely to paypal and accept that payment.
For this we are checking @advanced Card Payments, documentation is athttps://developer.paypal.com/docs/business/checkout/advanced-card-payments/ .
Using above link, i am able to get the hosted card fields(upgraded to pro and applied for advanced card payment for sandbox). But we are not clear on the next steps(documentation says, we need to create an order and have in the javascript code). We are returning the orderID, but it gives some errors then. Not sure if we have to make further API calls, or paypal handles once we provide the order data, card details and submit.
Can anyone please suggest, what flow we need to implement? Please see the errors descriptions below , the code we followed is exact same as the one mentioned in developer document.
Any suggestions would be really helpful.
Errors:
-> Hosted fields payment is already in progress
-> Sometimes we also get 504, 401 errors for https://cors.api.sandbox.paypal.com/v2/checkout/orders/{orderid}/validate-payment-method
Thanks,
Anand
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Button in PayPal Payments Standard
- Need help to integrate Advanced Checkout (PPCP) With WHMCS in PayPal Upgrade Community
- link my PayPal business account with my WordPress website , but it's not work ?! in PayPal Payments Standard
- System error for my Paypal button after years of correct working in PayPal Payments Standard
- Mandatory Account Creation Hindering Customer Experience in REST APIs