paypal.ApplePay().confirmOrder() returns applepay_payment_error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The problem:
I am adding the PayPal Apple Pay integration code to our website, so we can receive payments via ApplePay. I am receiving an error calling the SDK function: paypal.confirmOrder(), after a successful onvalidatemerchant() call. When I make the confirmOrder() call an error is thrown into my catch block. The error is an object type applepay_payment_error .
This error type, as far I can tell, is not documented in the JavaScript SDK in the developer documents. It does not offer any clues as to what is wrong.
Question:
Can you shed any light on what may cause this function to fail with this error? I have been working on this for days with no success.
More info:
I am passing a Paypal order ID that I have just successfully created prior to this call. I am passing the event.payment.token I received from the event callback for session.onpaymentauthorized and I am passing event.payment.billingContact as the billing contact also from the event object passed to my callback function. All three parameters appear to be initialized with content.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Auto Return feature for digital products without using woocommerce? in PayPal Payments Standard
- Add parameters to custom auto return url? in PayPal Payments Standard
- Are there any restrictions to charge using only html, vanilla javascript and php with rest api? in REST APIs
- Cant get mobile number from details. object even though my paypal button mandates submission in Sandbox Environment
- AUTH_FLOW_REQUIRED in SDKs