#yabdab-Apple-Pay
1 messages · Page 1 of 1 (latest)
no, it is not
Are you using Payment Request Button or is this on mobile?
payment request button on Mac studio with touch id keyboard
i got it working about an hour ago, now it has stopped
pi_3LZeBmGKMHqraiAT08oAYNEE is the most recent ID
Can you see the Apple Pay Button at the top of the docs page here: https://stripe.com/docs/stripe-js/elements/payment-request-button?
(In Safari)
yes
yes
Yep so that's the issue
standard accounts
When you register the domain with Standard you have to use your platform key and the Stripe Account header to register the domain: https://stripe.com/docs/stripe-js/elements/payment-request-button?html-or-react=html#html-js-using-with-connect
If you register it directly using the Connected Account then it won't work
oh, the last staff guy helped me with that
Can you share what URL you are testing on?
I can check on whether it was registered correctly
i think I know the issue now
my cart loads in a iframe overlay
if I load the iframe url directlly, then the apple pay button shows
is there any way to have it work in the iframe overlay?
Yep we mention this here: https://stripe.com/docs/stripe-js/elements/payment-request-button?html-or-react=html#html-js-testing
Do you have the allow attribute set?
ok, stand by, gonna try it out
👍
Yep feel free to post the URL
Okay yeah so it looks like that URL was registered only in testmode by that Standard Account. So that registration needs to be deleted and then you need to register it again on the account in livemode using the platform's secret key.
I already did that once
everythug works if you load the iframe in a new window
has something to do with the iframe enclosure
still there?
no worries
So that screenshot is from yabdab.com?
And using a PaymentIntent created via your Platform?
open cart and right click and load fraem in new window
sandbox.cartloom.com is egstered
are you saying the page containing the iframe, I need to register that domainas well?
so yabdab.com AND sandbox.cartloom.com
ok, while waiting, I went ahead and added www.yabdab.com to the domain list via the API call
nothing changed
Okay so you did register yabdab.com correctly now BUT you didn't delete the past registration first.
yes I did
Registration is "idempotent", meaning if it already exists then re-registering doesn't do anything
did that first
Are you sure? I still see yabdab.com registered in testmode for that account not using the Platform's keys
not sure I follow
created
8/22/22, 1:59 PM
nothing is loaded on the yabdab domain, all calls come from cartloom
Do you have a link where I can reproduce this?
Might be easier for me to just look at it directly on my end
you have it
and the actual iframe being loaded is this ...
can you delete these from public view after you get them?
Yes
tks
Give me a moment to look further
Ah okay
So I totally forgot but the origin of the iframe must match the top-level origin
that is just for ApplePay right, because everything else wrks as expected.
so there is no way around this then?
That is just for Apple Pay, correct.
So yeah, if you are hosting a different domain in the iframe than the top-level origin it isn't going to work here.
ah, bummer, sux for platform iframe integrations then. Is this an Apple thing or a Stripe thing?
I believe it is an Apple thing but I'm not intimately familiar with the behind the scenes here.