#Srujan
1 messages · Page 1 of 1 (latest)
Do you have a link to the page that's doing this? Or are you running locally?
Yeah here
Click on whistle stop grill, click view cart, go to checkout, enter name and phone (fake or w/e) and you'll see the drawer open with the payment element inside
I can also post the checkout page I have running. We have rerenders for the checkout page, so I don't know if that's an issue when mounting this element, but so far no errors about that. I set up the logic so that clientSecret only gets passed in once its defined and doesn't change at all
Looks like it's there
Okay damn so something is going on with my own setup
I see it as an option for the demo so I don't know why it wouldn't be showing here for me
You have to have a Google payment method added to the browser, so I'd check that you have that first: https://support.google.com/chrome/answer/142893?hl=en&co=GENIE.Platform%3DDesktop
You can let Chrome fill out forms automatically with saved info, like your addresses or payment info. When you enter info in a new form online, Chrome might ask you if you’d like Chrome to save it.
Yeah I do have one configured. Actually multiple. It shows up for me on this test site from an earlier thread: https://4242.io/payment-element/
Is there any way to inspect the code on this site and see what the issue is?
at e.canMakePayment (v3:1:171620)
at r._canMakePaymentForBackingLibrary (v3:1:196152)
at v3:1:197921
at v3:1:57929
at async Promise.all (index 0)```
Have you seen this error before and think it might be related?
That's really bizzare. So you see it when you pull up https://4242.io/payment-element/ ?
Yeah
This happened on the payment request button as well
This is what the stripePromise looks like:
stripeAccount: stripeConfig.accountId
});```
What's also really odd is that when I first used the element I had google pay show up briefly before it never did again so I don't know what the issue could be.
Can you try turning off strict mode?
That is odd, it fixed it for one of my colleagues, which makes this even more confusing
oh weird. i just restarted the app and it shows now
Huh, strange
I hope it continues to work 🙏🏾
Yeah...if i have the demo open that shouldn't affect my ability to see google pay right?
also, how do I test apple pay from chrome in my browser?
I can't imagine why it would.
also, how do I test apple pay from chrome in my browser?
You don't. You have to use Safari
okay
thanks for the help
hmm, it's not showing up. If I'm testing locally, do I still need to do the apple domain verification?
I'm guessing I have to register ngrok domain according to these docs right?
hmm, it's not showing up. If I'm testing locally, do I still need to do the apple domain verification?
Yes, correct