#Chris Kakashi

1 messages · Page 1 of 1 (latest)

drowsy caveBOT
zealous bane
#

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.

harsh mulch
#

thanks i thinked to that i will try thanks a lot

obsidian rock
zealous bane
#

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?

obsidian rock
#

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

zealous bane
zealous bane
#

what code do I need to get to the page that actually uses Stripe?

obsidian rock
#

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

zealous bane
#

so you are using Direct Charges?

obsidian rock
#

You can put a fake one

obsidian rock
zealous bane
#

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

obsidian rock
#

Where should I do this ?

zealous bane
#

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.

obsidian rock
#

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 ?

zealous bane
#

that's what the docs say yep

obsidian rock
#

Okay we'll try it. Thanks

zealous bane
#

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.

obsidian rock
#

But do I still need to put the 'apple-developer-merchantid-domain-association' on my server ?

zealous bane
#

yes

obsidian rock
#

Is it always the same file no matter the connected account / subdomain is used ?

zealous bane
#

yes

obsidian rock
#

Thanks !