#Chris Kakashi
1 messages · Page 1 of 1 (latest)
well each subdomain has to be separately registered in your Stripe account for Apple Pay, to be clear. Registering the top level main domain does not make it work for subdomains.
thanks i thinked to that i will try thanks a lot
Hi, @zealous bane
We already added the domain here on the dashboard :
https://dashboard.stripe.com/settings/payments/apple_pay
Like for example :
city.brand-name.web.my-dev-company.fr
And it's the final link to access our webapp for the clients.
(We are using connect express)
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
do you have a link directly to the page with the problem that I could look at myself?
(We are using connect express)
what charge flow are you using? Destination or Direct?
Yes I can send the url in pm. Can you send me a pm message to start the conversation ?
We are using payment intents to make payments on connected account of our clients
No, sorry. You can post it here but if you're not comfortable posting in public you can open a support case at https://support.stripe.com/?contact=true instead
sure, but which flow, Destination or Direct?
what code do I need to get to the page that actually uses Stripe?
Clic on "A emporter" it won't ask for a code
Then add something to the cart
Go to the cart
On the top right (are you on a phone or computer ?)
Then clic "Continuer sans compte". And you'll have to give an email address
so you are using Direct Charges?
You can put a fake one
I'm waiting for the answer for our Lead Dev Backend
I see that you initialise the library like
var stripe = Stripe('{{PLATFORM_PUBLISHABLE_KEY}}', {
stripeAccount: '{{CONNECTED_STRIPE_ACCOUNT_ID}}',
});
so if you do(seems like you do), then you need to register the domain for each and every account
Where should I do this ?
when you create an Express account, you might want to make that API call described there to register the domain(and each domain and subdomain you use) for that merchant; that's required for Apple Pay to work with a Direct Charge integration.
var stripe = require("stripe")("sk_live_••••••••••••••••••••••••");
const domain = await stripe.applePayDomains.create({
domain_name: 'city.brand-name.web.my-dev-company.fr,
},{
stripeAccount: '{{CONNECTED_ACCOUNT_ID}}',
});
So we have to use it like this ?
that's what the docs say yep
Okay we'll try it. Thanks
But on the dashboard there is no other configuration to make other than on this page ?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
if you're doing this for Connect you do not use the Dashboard to configure it
you must make the API call described there to register domains for the connected account.
But do I still need to put the 'apple-developer-merchantid-domain-association' on my server ?
yes
Is it always the same file no matter the connected account / subdomain is used ?
yes
Thanks !