#mauri_docs

1 messages ยท Page 1 of 1 (latest)

kindred canyonBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1309324594217484348

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

open heath
#

on the error message that I get it points this place in the code, where it seems that stripe is prepending "merchant." and appending ".stripe" to something in order to run the window.ApplePaySession.canMakePaymentsWithActiveCard(merchantId) call, and that's what's failing

#

but I didn't see anywhere in the code that said that I should create a merchant id with that format, so I'm wondering if I should follow a specific format or if stripe is not generating something that it should

wispy quarry
#

So first, since you are using ApplePay on web, you can ignore the Merchant ID and Certificate-ish. They are for native app

#

You need to make sure the domain works

#

The step "Set up Apple Pay for your website"

open heath
#

ok, I did that already

wispy quarry
#

Do you have a public accessible URL? We can test on our own

open heath
#

do you want to see to the checkout flow? or just check the well-known files, etc?

#

asking because the checkout flow with stripe is under a feature flag and I'd need to whitelist your user email if you want to see it

wispy quarry
#

do I need a working email? Otherwise let's whitelist stripe_testing@example.com

open heath
#

yeah, you need to verify it

#

you can create a disposable one if you want, just let me know which one it is

#

if you want to dm me I can share testing credentials otherwise. I don't want to share those publicly though

wispy quarry
#

Umm that would be difficult. We don't have a disposable email. Any chance you could make it public for a short period of time? ie. 30 mins

#

Ah yes

#

I don't have DM opened, but let me see

open heath
#

๐Ÿ‘

#

anything that doesn't imply sharing the credentials publicly here works for me ๐Ÿ˜„

wispy quarry
#

Sent a friend request. Please note that we don't usually do this and I won't react to DM ๐Ÿ™‚ after this thread

open heath
#

aww โค๏ธ

#

I really appreciate that ๐Ÿ™

#

that's the url where you can see the payment form after signing in

wispy quarry
#

It does work for me actually

#

Seems you setup the domain correctly

open heath
#

๐Ÿ˜ฎ

#

it's not showing up for me for some reason

#

anyway, do you see anything if you hit purchase? I was able to see the button at some point but after clicking it and the apple pay dialog showed up and clicking subscribe, it thrown an error

#

I don't remember the error exactly, but it was something saying that the stripe account didn't have apple pay configured or something like that

#

this is what I get btw, still don't know why... I'm using an apple sandbox user (since I'm located in a country where apple pay is not supported)

wispy quarry
#

I am a bit hesitated to do that ๐Ÿ˜… Are you using test mode? Or let me confirm...

#

The fact it displays means there is nothing wrong with the domain setup

#

Just the environment you are testing may have some issue

open heath
#

I'm using test mode, yes. if you need the organization id or something I can share it with you privately if you want

wispy quarry
#

That's sandbox and Stripe doesn't work with them. To test you suppose to use a real card on your wallet

open heath
#

ohh

wispy quarry
#

Maybe you can try again with a real device?

#

I think that's the reason you sometimes have issue

open heath
#

hmmm, what do you mean with "real device"? the problem is that I'm located in Uruguay, where apple pay is not supported

#

I'm using a real mac ๐Ÿ˜› and safari

wispy quarry
#

Ah, nvm. Yeah that's probably the country issue

open heath
#

the sandbox user is configured to be located in the united states though

wispy quarry
#

See the wallet-config here

#

ApplePay seems fine

#

(from my side)

open heath
#

WTH

#

isn't this the same? (my result)

wispy quarry
#

hmm not sure :/

#

Okie one minute

open heath
#

๐Ÿ‘

wispy quarry
#

You are using the defer flow?

open heath
#

so, creating the confirmationToken in react, then handing it off to our api to create the customer, intent, and subscription

wispy quarry
#

Yeah I finished one ApplePay transaction. It works fine

#

Fake name and address but the card from a real card

open heath
#

that's great, thank you!

#

so the problem is my setup then ๐Ÿซ 

#

how can people test on countries where apple pay is not supported then? ๐Ÿ˜…

#

I suppose a vpn might not be enough

wispy quarry
#

You could try VPN ๐Ÿ™‚ Sorry not entirely

open heath
#

so you said that (apple) sandbox users won't work for testing this flow with stripe + apple pay?

wispy quarry
#

Yes

open heath
#

only real users with real credit cards, then the payments aren't charged because it's test mode, is that correct?

wispy quarry
#

Yes, correct

open heath
#

ok, thank you very much for all the help and info! ๐Ÿ™ ๐Ÿ™ ๐Ÿ™ I'll try to see if I can find a way to test this successfully