#mathew

1 messages · Page 1 of 1 (latest)

bright craneBOT
winged isle
#

How can I help?

hidden harness
#

(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

winged isle
#

that's a quite generic error. Can you share the code you're working with?

hidden harness
#

sure

#

works good with card , but when i choose gpay and a separate popup comes up , by then i get this error

winged isle
#

You're using PaymentElement correct?

hidden harness
#

yes

winged isle
#

Gotcha. Let me take a look

sudden bison
#

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?

hidden harness
#

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"

sudden bison
#

It should be when you call confirmSetup, are you seeing the modal appear at a different time?

hidden harness
#

because as soon as the poup is displayed it logs error

#

let me confirm

hidden harness
#

as soon i click on my stripenextbutton

#

it is entering line 589 , ir result.error

sudden bison
#

If it's going into that block, is your code surfacing the error message being encountered in card-errors? What is being displayed there?

hidden harness
bright craneBOT
sudden bison
#

Hm, invalid_request_error makes me think something went wrong with the confirmation request.

#

What is the ID of your Stripe account?

hidden harness
#

FYI , i am using the beta version where "blocked_card_brands_beta_2" is passed

sudden bison
#

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)

hidden harness
#

trying that now! gime a min

sudden bison
#

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?

hidden harness
#

sure

#

seti_1NLSEWIlJuw107r9CjZkRXet_secret_O7hdB0qDxauyUAG2qnWZTRWoUDlsBDt

sudden bison
#

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)?

hidden harness
#

no i checked with older version as well this error exists

sudden bison
#

Hm, are you able to make this test site publicly accessible so we can take a closer look at what is happening on it?

hidden harness
#

ok let me check

bright craneBOT