#ferterahadi_unexpected

1 messages · Page 1 of 1 (latest)

vague trenchBOT
#

👋 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.

meager seal
#

hello

split gyroBOT
meager seal
#

its not apple pay form
but react stripe form

#

the user saw it like this for some reason

vernal hedge
#

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

sleek marten
#

@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?

vernal hedge
#

and then select any item

#

and then , when they ask for credential, please input 98614491, and then I will give you the otp

sleek marten
#

So your question is why Apple Pay isn't shown in mobile safari?

vernal hedge
#

yes correct

#

sometimes it shows sometimes, it doesn't

#

not consistent

sleek marten
#

Did you set up Apple Pay in that iPhone?

vernal hedge
#

yes I do

#

I do have a card setup in my Apple Pay

sleek marten
#

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?

vernal hedge
#

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?

sleek marten
#

Or can you give me the list of steps?

vernal hedge
#

okay sure

#
  1. go to putien.oddle.me
  2. press the "Add" button on the "辣子鲜海蛎 | Deep-fried Oysters with Dried Chili" menu
#
  1. a "Select your dining preference" dialog will show up, select "Pickup"
#
  1. select "PUTIEN - NORTHPOINT" and then press "Continue with Selection"
sleek marten
#

Shall I choose a pick up time?

vernal hedge
#
  1. 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

sleek marten
#

OK, waiting for OTP

vernal hedge
#

228778

#

does it work?

sleek marten
#

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

vernal hedge
#

okay, a moment

sleek marten
#

Are you using PaymentRequest button in your integration?

#

Or PaymentElement?

vernal hedge
#

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

sleek marten
vernal hedge
#

I don't think so, but I could be wrong, what are the other intent creation flows?

sleek marten
#

Can you share with me the PaymentIntent ID that I just created?

vernal hedge
#

okay let me check

#

may I know the amount of the payment intent that you created?

sleek marten
#

SGD 21.6

vernal hedge
#

hmm can I find it in the dashboard?

#

seems like it is not showing in the dashboard

sleek marten
#

Or you want to check with your developer to confirm what kind of integration do you use for the mobile safari checkout page?

vernal hedge
#

okay let me check that

#

and then what else do I need to provide?

sleek marten
#

The PaymentIntent ID if you are not using the deferred intent creation flow

vernal hedge
#

okay the paymentIntent ID

#

okay let me ask them

#

we create the paymentIntent later

sleek marten
#

Got it! That explains why you don't see the PaymentIntent in Dashboard, because it's not yet created.

vernal hedge
#

right ..

#

so what could be the issue?

sleek marten
vernal hedge
#

this is the option

              options={{
                layout: {
                  type: 'accordion',
                  spacedAccordionItems: true,
                  defaultCollapsed: true,
                  radios: true
                },
                wallets: {
                  applePay: 'auto',
                  googlePay: 'auto'
                },
                fields: {
                  billingDetails: {
                    address: {
                      country: 'never'
                    }
                  }
                }
              }}```
sleek marten
#

That's the PaymentElement options, I'd like to know the Elements options

vernal hedge
sleek marten
vernal hedge
#

ohh where do I see the list of domains that we have been registered?

sleek marten
split gyroBOT
vernal hedge
#

am I looking at the right page?

sleek marten
#

Yes that's the right page. Sorry I need to go and my colleague vanya will continue to help you.

vernal hedge
#

no problem, thanks @sleek marten for helping

median wind
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

vernal hedge
#

hello @median wind

#

please take your time

#

thanks for assisting

median wind
#

Could you please summarise the latest question for me?

vernal hedge
#

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

#

another merchants able to show Apple Pay successfully

median wind
#

By "our merchants" you mean connected accounts, right?

vernal hedge
#

yes you are right

#

connected accounts

median wind
#

Do you have it registered on your Platform account?

#

Are you creating Direct or Destination charges?

vernal hedge
#

Do you have it registered on your Platform account?
how do I check this?

#

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

median wind
#

This is a Destination charge. When using Direct charges, the payment goes directly to the Connected account.

vernal hedge
#

I see

median wind
#

Does each connected account have their own website/domain?

vernal hedge
#

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

#

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?

median wind
#

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?

vernal hedge
#

I don't use on_behalf_of parameter

#

I don't use it

median wind
#

So, essentially, when you create the Elements instance, your app doesn't know what connected account will be used, except for the website url?

vernal hedge
#

yes you are right

median wind
#

You need to make sure all of the domains are registered.

vernal hedge
#

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?

#

the domain shows up

median wind
#

What account ID is this?

vernal hedge
#

this account ID acct_1H0XHBLvc0onZ7sf

median wind
#

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.

vernal hedge
#

alright, thanks for your suggestion

#

thanks for taking the time to look into this problem @median wind