#yabdab-Apple-Pay

1 messages · Page 1 of 1 (latest)

spare seal
#

Hi there!

#

Is the button not showing?

halcyon plaza
#

no, it is not

spare seal
#

Are you using Payment Request Button or is this on mobile?

halcyon plaza
#

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

spare seal
#

(In Safari)

halcyon plaza
#

yes

spare seal
#

K, that PaymentIntent looks fine

#

Oh wait

#

You are using Connect?

halcyon plaza
#

yes

spare seal
#

Yep so that's the issue

halcyon plaza
#

standard accounts

spare seal
#

If you register it directly using the Connected Account then it won't work

halcyon plaza
#

oh, the last staff guy helped me with that

spare seal
#

Can you share what URL you are testing on?

#

I can check on whether it was registered correctly

halcyon plaza
#

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?

spare seal
#

Do you have the allow attribute set?

halcyon plaza
#

it has allow="payment"

#

does it need the * too

#

allow="payment*"

spare seal
#

Yes

#

payment *

halcyon plaza
#

ok, stand by, gonna try it out

spare seal
#

👍

halcyon plaza
#

no joy 😦

#

can I send you url?

#

wait, I am missing a space

spare seal
#

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.

halcyon plaza
#

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?

spare seal
#

Sorry server got really busy

#

Helping several folks at once

halcyon plaza
#

no worries

spare seal
#

So that screenshot is from yabdab.com?

#

And using a PaymentIntent created via your Platform?

halcyon plaza
#

open cart and right click and load fraem in new window

#

are you saying the page containing the iframe, I need to register that domainas well?

#

ok, while waiting, I went ahead and added www.yabdab.com to the domain list via the API call

#

nothing changed

spare seal
#

Okay so you did register yabdab.com correctly now BUT you didn't delete the past registration first.

halcyon plaza
#

yes I did

spare seal
#

Registration is "idempotent", meaning if it already exists then re-registering doesn't do anything

halcyon plaza
#

did that first

spare seal
#

Are you sure? I still see yabdab.com registered in testmode for that account not using the Platform's keys

halcyon plaza
#

not sure I follow

#

created
8/22/22, 1:59 PM

#

nothing is loaded on the yabdab domain, all calls come from cartloom

spare seal
#

Do you have a link where I can reproduce this?

#

Might be easier for me to just look at it directly on my end

halcyon plaza
#

you have it

spare seal
#

Ah right

#

You mentioned it above

#

One sec

halcyon plaza
#

and the actual iframe being loaded is this ...

#

can you delete these from public view after you get them?

spare seal
#

Yes

halcyon plaza
#

tks

spare seal
#

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

halcyon plaza
#

that is just for ApplePay right, because everything else wrks as expected.

#

so there is no way around this then?

spare seal
#

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.

halcyon plaza
#

ah, bummer, sux for platform iframe integrations then. Is this an Apple thing or a Stripe thing?

spare seal
#

I believe it is an Apple thing but I'm not intimately familiar with the behind the scenes here.