#ferterahadi_unexpected
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/1221732387797598208
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hello
hello
its not apple pay form
but react stripe form
the user saw it like this for some reason
Wanted to ask, how does Stripe decide which component to show
on mobile browser, it shows the one on the right
but when I request desktop site
it shows the one on the left
@meager seal please use the button #help channel, don't join other user's existing channels.
@vernal hedge is there a URL that I can visit to test your Apple Pay integration?
yes you can ty on putien.oddle.me
and then select any item
and then , when they ask for credential, please input 98614491, and then I will give you the otp
So your question is why Apple Pay isn't shown in mobile safari?
Did you set up Apple Pay in that iPhone?
Ok, I'm not sure which page I should visit to see the Apple Pay payment page.
Can you give me the direct link to the checkout page?
let me try
I can share the checkout link but I am afraid you won't be able to use it,
as you don't have the session in the browser
is there anything else I can do?
Or can you give me the list of steps?
okay sure
- go to putien.oddle.me
- press the "Add" button on the "辣子鲜海蛎 | Deep-fried Oysters with Dried Chili" menu
- a "Select your dining preference" dialog will show up, select "Pickup"
- select "PUTIEN - NORTHPOINT" and then press "Continue with Selection"
Shall I choose a pick up time?
- select any date, i.e. 26 Mar, select any pickup time , i.e. 5,45 to 6.45 and then press "Next"
yes please choose a pick up time
when they ask for credential
key in 9861 4491, I will give you the otp
OK, waiting for OTP
Yes I'm now in the checkout page and I don't see apple pay.
Can you share with me your merchant ID? you can find it from the Stripe Dashboard -> Settings ->Account Details
okay, a moment
I use PaymentElement
hold on, getting the account details
this is the account ID acct_1OQTW0Pwz6WI6Snz
is this the correct ID ?
sorry
this is the correct one acct_1H0XHBLvc0onZ7sf
putient (merchant) ID = acct_1OQTW0Pwz6WI6Snz
my (Oddle) ID = acct_1H0XHBLvc0onZ7sf
another merchant that faces the same issue = acct_1J3clfQ6FGYNnwGQ
Ok, are you using the deferred intent creation flow? https://docs.stripe.com/payments/accept-a-payment-deferred
I don't think so, but I could be wrong, what are the other intent creation flows?
Can you share with me the PaymentIntent ID that I just created?
SGD 21.6
Or you want to check with your developer to confirm what kind of integration do you use for the mobile safari checkout page?
The PaymentIntent ID if you are not using the deferred intent creation flow
okay the paymentIntent ID
okay let me ask them
thanks for waiting jack_stripe, we use https://docs.stripe.com/payments/accept-a-payment-deferred
we create the paymentIntent later
Got it! That explains why you don't see the PaymentIntent in Dashboard, because it's not yet created.
Can you ask the developer to provide the options that they set to the Elements? https://docs.stripe.com/payments/accept-a-payment-deferred?platform=web&type=payment#add-and-configure-the-elements-provider-to-your-checkout-page
this is the option
options={{
layout: {
type: 'accordion',
spacedAccordionItems: true,
defaultCollapsed: true,
radios: true
},
wallets: {
applePay: 'auto',
googlePay: 'auto'
},
fields: {
billingDetails: {
address: {
country: 'never'
}
}
}
}}```
my bad, thanks for pointing that out, this is the option
Did you register putien.oddle.me for the Payment Method domain? I saw putien.alpha.oddle.me, but I haven't found putien.oddle.me yet.
ohh where do I see the list of domains that we have been registered?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Yes that's the right page. Sorry I need to go and my colleague vanya will continue to help you.
no problem, thanks @sleek marten for helping
Hi! I'm taking over from my colleague. Please, give me a moment to catch up.
Could you please summarise the latest question for me?
Apple Pay doesn't show on some of our merchants Payment Elements
PaymentIntent is created using the deferred flow
and then domain has already been registered
one of the merchant's url that fail to show Apple Pay is putien.oddle.me
another merchants able to show Apple Pay successfully
By "our merchants" you mean connected accounts, right?
I don't see any Apple domains registered for any of those accounts.
Do you have it registered on your Platform account?
Are you creating Direct or Destination charges?
Do you have it registered on your Platform account?
how do I check this?
I can see putien.oddle.me in this page, does that count as registered?
we create destination charge
actually what's the difference between direct and destination?
the payment goes to the PA account first, and then we distribute them to the CAs
This is a Destination charge. When using Direct charges, the payment goes directly to the Connected account.
I see
Does each connected account have their own website/domain?
yes they have
some of them have Apple Pay in them, some of them are not
the Apple Pay option should have been shown in all merchants
even for putien.oddle.me
when viewing via iOS Safari, the Apple Pay doens't show
but after we select "Request Desktop Site", the Apple Pay does show
and the problem is on and off , when we release a new version of the web app, the Apple Pay problem is gone, after a while, it happens again
actually, how does Stripe decids to show Apple Pay on Payment Elements?
There's many factors, that's why it's not always easy to tell what's the problem.
Are you using on_behalf_of parameter when creating the Payment Elements?
So, essentially, when you create the Elements instance, your app doesn't know what connected account will be used, except for the website url?
yes you are right
You need to make sure all of the domains are registered.
what CA will be used is determined by the server
You need to make sure all of the domains are registered.
how do I troubleshoot this?
for putien case, when I check the domain in this page, https://dashboard.stripe.com/settings/payment_method_domains?enabled=true&domain_name=putien.oddle.me
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
the domain shows up
What account ID is this?
this account ID acct_1H0XHBLvc0onZ7sf
Alright, at this point I think it makes more sense for you to write in to Stripe Support, and describe your issue in detail. You can mention you talked to us on Discord, then my engineering team will take over the case. This will give us more time to take a deeper look into the issue.