#mhdev
1 messages ยท Page 1 of 1 (latest)
Thanks! I believe it is destination charges, how can i clarify that? We have a master account, with connect accounts
we use direct charges
Hi there ๐ I'm jumping in as my teammate needed to step away. Please bear with me a moment while I catch up on the context here.
Hey @naive bramble, ok, no prob
In order to enable Apple Pay for your Connected Accounts, you'll need to ensure that Apple Pay is enabled in their dashboard. If you're controlling the Payment Method options for your Connected Accounts, then you can enable it here:
https://dashboard.stripe.com/test/settings/payment_methods/connected_accounts
The other piece is to verify the domain that will be hosting the Apple Pay option with Apple. Your platform will need to do this on your Connected Account's behalf, with your livemode API key, and using the Stripe-Account header to specify the Connected Account:
https://stripe.com/docs/api/connected_accounts
(I'm just tracking down where the API structure for verifying domains is so I can share that as well)
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
This section shows how to verify your domains with Apple via an API:
https://stripe.com/docs/stripe-js/elements/payment-request-button?html-or-react=html#verifying-your-domain-with-apple-pay
So we have multiple connect customers with different domains, therefore, would we need to add all those domains to this page - https://dashboard.stripe.com/settings/payments/apple_pay?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
No, since you're using Direct Charges you can't add the domains to your Platform, they need to be added by your Platform to your Connected Accounts.
where on this page can I add the domains then? https://dashboard.stripe.com/test/settings/payment_methods/connected_accounts I do not see a place to add them
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
also, on this page - https://dashboard.stripe.com/test/settings/payment_methods/connected_accounts, apple pay and google play are on by default, however, they are not showing on the paymentintent on our connect customers domain. That is because the domain is not set up yet, right?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Correct, Apple Pay is a two part process:
- Enable it as a Payment Method option
- Register the domain that will be hosting the Apple Pay flow
As far as I know it is not possible to set up Apple Pay domains via the dashboard for Connected Accounts when using a Direct Charge flow. That needs to be done via the API.
Ok, that makes sense, thanks! So i can just run something like:
const domain = await stripe.applePayDomains.create({
domain_name: 'abc.com',
}, { stripeAccount: 'abc' });
and this is a one-time thing, right?
That's correct, once per domain.
ok, amazing! thanks very much for your help! ๐