#mathew
1 messages · Page 1 of 1 (latest)
How can I help?
(index):1 Uncaught DOMException: Failed to execute 'postMessage' on 'Window': Delegation is not allowed without transient user activation.
at l (https://js.stripe.com/v3/:1:118583)
at t.value (https://js.stripe.com/v3/:1:36522)
at t.value (https://js.stripe.com/v3/:1:35957)
at e.show (https://js.stripe.com/v3/:1:469726)
at t.<anonymous> (https://js.stripe.com/v3/:1:496169)
at t.show (https://js.stripe.com/v3/:1:62592)
at https://js.stripe.com/v3/:1:193118
at https://js.stripe.com/v3/:1:58271
at Array.forEach (<anonymous>)
at t._emit (https://js.stripe.com/v3/:1:58014)
i get thi issue wihen i try to use Googlepay
that's a quite generic error. Can you share the code you're working with?
sure
works good with card , but when i choose gpay and a separate popup comes up , by then i get this error
You're using PaymentElement correct?
yes
Gotcha. Let me take a look
Hi there 👋 I'm helping take a look at this. Do you hvae a publicly accessible test site that we can look at to see the behavior you're describing?
nope. can u let me know at wch point is the gpay popup dispalyed here
as soon as the googlepay popup is displayed it goes into "error in confirmSetup"
It should be when you call confirmSetup, are you seeing the modal appear at a different time?
as soon i click on my stripenextbutton
it is entering line 589 , ir result.error
If it's going into that block, is your code surfacing the error message being encountered in card-errors? What is being displayed there?
Hm, invalid_request_error makes me think something went wrong with the confirmation request.
What is the ID of your Stripe account?
FYI , i am using the beta version where "blocked_card_brands_beta_2" is passed
Do you encounter this behavior if you try to run this flow without leveraging the beta? (My team here isn't familiar with beta features, so we won't have insight on how those could impact what you're seeing)
trying that now! gime a min
I'd also be curious to see what the full error message being returned when trying to confirm the Setup Intent is. Can you share the ID of a Setup Intent from your testing that I can take a closer look at?
Hm, I'm not seeing any confirmation requests for that Setup Intent.
I'm not familiar with the beta you're in, but any chance you're using a card in GPay that is a brand that you're blocking with that beta (assuming that it lets you block specific card brands)?
no i checked with older version as well this error exists
Hm, are you able to make this test site publicly accessible so we can take a closer look at what is happening on it?
ok let me check