#michael_19345
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
would you mind sharing some more details?
the Payment Intent ID? your code and a screen recording if it's possible or a website in test mode where we could replicate the issue?
pi_3OWeFDDY3BzcP9iq08AX7Vcc
click through to buy a ticket for an event and then click apple pay on the /order-summary page
ok fair enough, would you mind sharing your code please? the front-end code
this has been working in our staging environment for approx 4 weeks now. and stopped working yday.
it is working for google pay still, just not apple pay
did you try with another payment method (I mean another card on Apple Pay)
yeah, it is happening for a few people on our team
is it happening to all or just some?
i shouldnt need to manually close/unmount the payment element on paymentIntent success right?
all
no, you shouldn't need to.
any ideas here?
why is the stripe paymentIntent status succeeded but the apple pay modal saying payment not complete
not sure, that can happen if you call event.paymentFailed() in the handler but doesn't seem like you do.
it is somehow calling this:
expressCheckoutElement.on('cancel', async () => {
try {
console.log('calling handleCancelArtixOrder...')
handleCancelArtixOrder();
} catch (error) {
throw new Error(error);
}
});
even though i dont click the cancel button in the modal
strange
should i create a support ticket for this?
what's weird to me when I try it on your site is you redirect 'underneath' the popup before it's finished
the redirect is inside this condition:
if (!error && resp.paymentIntent.status === 'succeeded') {
// The payment UI automatically closes with a success animation.
// Your customer is redirected to your return_url.
AppRouter.push('#/order-confirmation');
cartState.stripePaymentSuccessful = true;
}
so should only trigger when payment is successful. this was working before. but now that it is saying success even though there is some issue it goes there
I agree yes, seems strange
you dont see anything unusual in the backend?
nope