#Thomas-react-applepay

1 messages ยท Page 1 of 1 (latest)

plucky turtle
#

Hello

stiff notch
#

Hello @plucky turtle and thank you for the thread, I'm gonna post the screenshots right now ๐Ÿ™‚

#

Could not create Apple Pay session. Please make sure you have registered this Stripe account. For more information, see https://stripe.com/docs/apple-pay#web.

#

My domain and sub domain are registered correctly (green)

plucky turtle
#

Can you give me your PaymentIntent id?

stiff notch
#

@plucky turtle "id": "pi_3LIZptDFpQbzMrga1I57RL5K"

little umbra
#

Thanks Thomas! Taking a look now.

#

You're using Connect and making a direct charge on the connected account (Tom Test), correct?

#

Okay, this is going to be a bit complicated, but bear with me. Apple Pay needs to be activated in livemode, so we'll need to change a few things about your setup:

stiff notch
little umbra
#

No, it's just that the domain registration has to happen in live mode.

#

Once you finish those steps, you can still use Stripe.js in testmode.

stiff notch
#

So if i understood correctly, we will connect the Apple pay domain directly from our server (Node.js) ?

little umbra
#

You only need to do it once, so you can run a Node.js script to do so!

stiff notch
# little umbra Or you can even use curl ๐Ÿ™‚ -- there is a snippet here: https://stripe.com/docs/...

I see, I'm gonne transfer your answer to the devs backend ๐Ÿ™‚ we are a platform Saas (like ubereat-like) where restaurants/chains can have their own portal (through our web-app) with menu, delivery, payments etc... they can have a custom sub-domain and their own PK stripe, do you think it will be possible to make this Apple pay's setup for every single different restaurants/entities easily?

plucky turtle
#

Yep it all works fine, it's really just that Connect makes testing hard, you always have to do this registration in Live mode

#

But other than that it mostly just works! So when a new account connects to your platform you register their domain(s) on their account properly

stiff notch
#

Thanks a lot for those infos ๐Ÿ™ , we gonna probably try tomorrow since its almost 8pm in France ๐Ÿ™‚ I'll let you know ๐Ÿ™‚