#mauri_docs
1 messages ยท Page 1 of 1 (latest)
๐ 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.
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
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"
ok, I did that already
Do you have a public accessible URL? We can test on our own
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
do I need a working email? Otherwise let's whitelist stripe_testing@example.com
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
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
๐
anything that doesn't imply sharing the credentials publicly here works for me ๐
Sent a friend request. Please note that we don't usually do this and I won't react to DM ๐ after this thread
aww โค๏ธ
I really appreciate that ๐
that's the url where you can see the payment form after signing in
๐ฎ
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)
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
I'm using test mode, yes. if you need the organization id or something I can share it with you privately if you want
I'm using test credit cards from here https://developer.apple.com/apple-pay/sandbox-testing/
That's sandbox and Stripe doesn't work with them. To test you suppose to use a real card on your wallet
ohh
Maybe you can try again with a real device?
I think that's the reason you sometimes have issue
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
Ah, nvm. Yeah that's probably the country issue
the sandbox user is configured to be located in the united states though
๐
You are using the defer flow?
not sure what's that, but I'm following almost exactly what's stated here: https://docs.stripe.com/payments/finalize-payments-on-the-server?platform=web&type=subscription
so, creating the confirmationToken in react, then handing it off to our api to create the customer, intent, and subscription
Yeah I finished one ApplePay transaction. It works fine
Fake name and address but the card from a real card
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
You could try VPN ๐ Sorry not entirely
so you said that (apple) sandbox users won't work for testing this flow with stripe + apple pay?
Yes
only real users with real credit cards, then the payments aren't charged because it's test mode, is that correct?
Yes, correct
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