#xiaoxiao-applepay
1 messages · Page 1 of 1 (latest)
can you share your account id too?
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
Hi, I haven't created one yet, do I need to create one?
pi_3LAPUVG4AOPM3T3W1W8XR30X
i have two questions :
- it looks like you're initializing Stripe more than once?
stripeAccount: r.stripe_account: what'sr.stripe_accountin your website?
- 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.
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?
I added my domain at https://dashboard.stripe.com/settings/payments/apple_pay page.
Do I need to do anything else?
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
gimme a while to look into this
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?
Was it removed and re-added in this place? Pictured on my private stripe account, user testing.
no, you cannot do this via the Dashboard
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?
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.
- I need to delete through the dashboard. As shown
- I need to add through PHP code,
Is it enough to complete these two steps?
why is it xx.careat.online ? i assume you'll update this to the correct domain
yes, this looks correct
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
onesec, let me check