#Srujan
1 messages · Page 1 of 1 (latest)
Hi there. Yeah the above could be a few issues, but checkout this article: https://support.stripe.com/questions/enable-apple-pay-on-your-stripe-account
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
So I already registered domain and I have the wallets enabled in /settings/payment_methods/connected_accounts
https://js.stripe.com/v3
v3:1:1547
What I mean is where is that error coming from? A server side request, the browser console, etc
browser console
Would clientSecret be sufficient?
If you're referring to the PI's client secret, yeah that works
pi_3MFk2kDTwu9XYxBB0u0bcSxi
Ah this is a direct charge. You have to register the apple pay domains on your connect account as well
I have this const stripePromise = loadStripe(stripeConfig.publicKey, { stripeAccount: stripeConfig.accountId });
But you need to register the domain on your stripe account
See link I sent
Needs to be performed on your connect account
Oh I see step 2?
Correct
You only did that for your platform
And make sure to use the live mode key
Apple Pay only works (even for just testing) if you use the live mode key to register the domains and if the platform and connect account are connected in live mode
I'm still confused...I did register the domain in my account on this page https://dashboard.stripe.com/settings/payments/apple_pay. Do you mean I need to add in the stripe connect account when I create the payment intent?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Or you mean const domain = await stripe.applePayDomains.create({ domain_name: 'example.com', },{ stripe_account: '{{CONNECTED_ACCOUNT_ID}}', });?
No. So you registered the domain on the above page. That registers the domain on your platform account. You're performing a direct charge on your connect account, so that means you will also need to register the domain on your connect account. The way to do that is with an api call (step 2 in the link I sent).
Yes the above code snippet
Read the link I sent. It explains why
how do i add multiple domains in that code snippet?