#xiaoxiao-applepay

1 messages · Page 1 of 1 (latest)

radiant escarp
#

hi there! can you share your site url for us to take a closer look?

analog sequoia
#

ceilngrat.online

radiant escarp
#

how do you add items to the cart?

#

oh, i need to go to all products page

radiant escarp
#

can you share your account id too?

analog sequoia
#

acct_1KBa4mG4AOPM3T3W

#

open F12

radiant escarp
#

do you have the account id where you're creating the PaymentIntents on for this test site? I've looked in acct_1KBa4mG4AOPM3T3W and i can't find the PaymentIntent id for the payment i'm making

analog sequoia
#

Hi, I haven't created one yet, do I need to create one?

#

pi_3LAPUVG4AOPM3T3W1W8XR30X

radiant escarp
#

i have two questions :

  • it looks like you're initializing Stripe more than once?
  • stripeAccount: r.stripe_account : what's r.stripe_account in your website?
analog sequoia
#
  • it looks like you're initializing Stripe more than once?
    Yes, I need to consider that the button can be displayed properly in different situations. So let it repeat.
  • stripeAccount: r.stripe_account : what's r.stripe_account in your website?
    Is r.stripe_account the stripeAccount on the picture?
    If stripeAccount is not added, google pay will fail to pay (https://api.stripe.com/v1/payment_intents/pi_3LAPsGG4AOPM3T3W0LDEwApi/confirm 404)
    But with stripeAccount, apple pay doesn't display the button.
#

We created multiple stripe accounts with the same information.
I'm guessing that the first to register is the master user.
We are currently using other sub-accounts to receive payments.

#

I don't know if this will be useful information, but I need to tell you.

radiant escarp
#

you shouldn't initialize stripe multiple times, it can cause unexpected behaviour. You should only initialize it once.

The other point which i want to mention is, for whichever connected account you are using (or are planning to use in stripeAccount) for Apple Pay, you need to also register the apple pay domain. Have you verified that is done?

analog sequoia
#

Do I need to do anything else?

radiant escarp
#

what's the connected account id which you're using for r.stripe_account on the website which you've provided right now? I'll take a look to make sure that the setup is done correctly

analog sequoia
#

acct_1KBa4mG4AOPM3T3W

#

account id:acct_1KBa4mG4AOPM3T3W

radiant escarp
#

gimme a while to look into this

analog sequoia
#

I think you need my account ID. Hope I have no wrong understanding

#

OK

radiant escarp
#

i think the previous suggestion we mentioned to you is to try registering the apple pay domain using the stripe account header on acct_1KBa4mG4AOPM3T3W

#

right now, if i look at acct_1KBa4mG4AOPM3T3W, it doesn't look like you registered them using the stripe account header. Can you delete the existing registered domains on acct_1KBa4mG4AOPM3T3W and try registering them again using the stripe account header?

analog sequoia
#

Was it removed and re-added in this place? Pictured on my private stripe account, user testing.

radiant escarp
#

no, you cannot do this via the Dashboard

analog sequoia
#

So how do I delete it?

#

I know this is adding

radiant escarp
#

you can delete it via the Dashboard. What i meant is to add it via the API, sorry about the confusion

#

shouldn't the stripe_account be acct_1KBa4mG4AOPM3T3W?

analog sequoia
#

We are from different countries. So you may be misunderstanding what you mean.
Hope you don't mind

#

Thanks for the tip, I will revise it.

#

Then I'll sort it out.

  1. I need to delete through the dashboard. As shown
  2. I need to add through PHP code,
    Is it enough to complete these two steps?
radiant escarp
#

why is it xx.careat.online ? i assume you'll update this to the correct domain

analog sequoia
#

Hi, I deleted my domain in the stripe dashboard.
Then I re-added my domain name in the code and it appeared in the dashboard.
Can I start testing the apple pay button?

#

but i don't see the apple pay button

radiant escarp
#

onesec, let me check