I'm using Amazon Pay through the Express Checkout Element.
When called, stripe.confirmPayment will attempt to complete any required actions, such as authenticating your user by displaying a 3DS dialog or redirecting them to a bank authorization page
Despite this, I try to call stripe.handleNextAction to handle the next_action. Unfortunately, this results in the error:
Error: Unexpected Error, groupId is null/undefined.
I don't think Amazon Pay should be requesting Stripe to perform 3ds in the first place (shouldn't Amazon be doing that on their side?). And even if that's expected, stripe.confirmPayment should be handling it per the documentation. And even if confirmPayment doesn't handle it, I would expect handleNextAction to work without an unexpected error. Is this a bug on Stripe's end or has anyone gotten this flow to work? Is there a different method I should be invoking?