#mhdev-connect-applepay
1 messages · Page 1 of 1 (latest)
I've been working on this for a few days now and no resolution yet.
The apple pay button is not showing in the iframe of the domain for our connect account customers.
So far we have:
- added the domain in live mode via the api
- added the allow="payment" attribute to the iframe
- added the well-known file
If I provide you with a paymentintentid can you have a look please?
Can you share the test site where you're trying to render Apple Pay for your Connected Account?
Is it ok to add multiple domains to one connect account? e.g., production domain and staging domain
Any luck?
Thank you, and sorry, the server is busy so having to juggle multiple threads. Pulling that up now. Yes, you can register multiple domains for a single account.
Do you need a paymentintent id to help debug?
I don't think so right now. When you're initializing Stripe.js, are you including the stripeAccount parameter within options and providing it with the ID of your Connected Account?
https://stripe.com/docs/js/initializing#init_stripe_js-options-stripeAccount
https://stripe.com/docs/stripe-js/react#elements-provider
Yeah, when we load stripe on the frontend
Bear with me a moment, we're working on shift change, then I'll be able to focus on this thread more exclusively.
No problem, thanks
Apologies for that, stepping through your settings more thoroughly.
ok
It looks like the ngrok tunnel was closed.
When you do the domain verification process for that new address, can you confirm whether you do so using a live key from your Platform account?
Did it include a request ID by chance?
Does Google Pay render if you use Chrome? I tried testing but the tunnel seems to have dropped again.
Google Pay renders for me, so if you're not seeing it then you may not have fulfilled the prerequisites for it (primarily having a card saved in your Google Pay wallet).
no, just the id which starts with apwc
we are more concerned about apple pay
does apple pay show for you?
Understood, but I was checking to see if wallets were rendering at all. No, Apple Pay is not rendering.
This site looks a little different, and I don't think I see a stripeAccount parameter being used here.
i see the stripe account in the network
_stripe_account: acct_1LAVaODoVEuG6N5A
do you not see it?
i see this too:
"ordered_payment_method_types_and_wallets": [
"card",
"apple_pay",
"google_pay"
],
i dont understand why the apple pay isnt option isnt rendering
Before you tried embedding this inside of an iframe, did you try to get Apple Pay to render?
I'm seeing the below error in my console, and am wondering if that is preventing the necessary payment permission from being passed down correctly:
Blocked a frame with origin "https://tix-test.onthestage.events" from accessing a frame with origin "https://ddfd-146-70-119-10.eu.ngrok.io". Protocols, domains, and ports must match.
It looks like that error aligns with one of the prerequisites for Apple Pay when using an iframe (last bullet point):
https://stripe.com/docs/stripe-js/elements/payment-request-button?html-or-react=react#safari
We did not try that. So both those domains need to be the same?
I believe so.