#lempan
1 messages · Page 1 of 1 (latest)
Hello
Do you see anything else in your console?
And does this happen with both Google and Apple Pay or just Apple Pay?
Yes this happens to both
Is there a link where I can reproduce this?
I get a DOMException: failed to execute 'postMessage
Is that the whole exception?
Uncaught DOMException: Failed to execute 'postMessage' on 'Window': Delegation is not allowed without transient user activation.
Are you doing a bunch of stuff in your click handler before calling confirmPayment()?
Like are you calling your backend for any reason?
Yes, creating a paymentIntent for that type of product. We have two different products
You are using the deferred intent flow?
Is there somewhere I can repro from my side?
yes you can reproduce it here. app.genzee.ai
Login and get a boiler plate CV and then try to downlaod. A google/apple pay will start but yo do not need to go through with it
to see the errors
Looks like the only way to login is with Google or LinkedIn?
I can't do that
So either need a direct link or provided login information or you are going to have to provide me more information
Yes i could provide some more information
there no other action happening after pressing the buy button
Can you provde me your code snippet for your click handler?
yes ofcourse
And you aren't using incognito when you are testing, right?
If you go to https://stripe.com/docs/stripe-js/elements/payment-request-button are you able to successfully complete a Google and Apple Pay test payment via the button at the top of the page?
elements.submit() is a promise
Try using await
if (submitError) {
handleError(submitError);
return;
}```
Did that fix things @eager tide ?
Sorry i am currently testing this, need to be approvedfor me to push it to staging so i will return with an answer shortly
🙂
Ah okay no worries
Yay