#lucasnguyen1707

1 messages · Page 1 of 1 (latest)

brisk bridgeBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

fleet radish
#

What's the issue?

unreal portal
#

InvalidAccessError: Page already has an active payment session.

#

Did you hear that issue yet?

fleet radish
#

Sure, can happen if you've not correctly dismissed the Apple Pay dialog. How are you integrating Apple Pay?

unreal portal
#

I integrate it by the Stripe element js

fleet radish
#

Payment Element? Express Checkout Element?

brisk bridgeBOT
unreal portal
#

Yes, I using Payment Element

vagrant steeple
#

well usually you get this error if the button is clicked twice in quick succession(so the popup is already showing and the button is pressed again).

unreal portal
#

This issue occurred after I verified the Apple Pay popup

vagrant steeple
#

hard for me to say without seeing all of the actual code involved

unreal portal
#

Here is my code to create a Payment

#

When my payment failed, it return the "invalid_request_error" in line 190

vagrant steeple
#

I'd suggest trying to understand why that is

unreal portal
#

Can i help another question

#

the Apple pay should popup before my paymentIntent creation of after that

vagrant steeple
#

either way is possible, it depends how you set things up. There's no requirement either way.

unreal portal
#

And user must be authenticated with there Apple Pay before we go to confirm the payment by "confirmPayment", right?

vagrant steeple
#

yes

unreal portal
#

Do you have the example repo of that flow

vagrant steeple