#tarantino-47_api

1 messages ¡ Page 1 of 1 (latest)

low rockBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1222460710991167510

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

floral stormBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

tight stratus
#

this is different question

floral stormBOT
tight stratus
#

Ideally I want to have the same functionlity as I have using PlatformPayButton, but for web. Cuz I only want to add apple pay or google pay button to my custom form. I don't need stripe's prebuild form/components

languid heart
#

And that's also not about wallet like ApplePay or GooglePay

#

so the integration on web is a bit different

#

Our general recommendation is using SetupIntent and then take the PaymentMethod under it

#

You could still choose to integrate directly with Apple and Google, then use their token to exchange to a Stripe token

#

That's a bit complecated but it's possible

tight stratus
#

ok, thanks, I wont be using legacy anyways

#

Our general recommendation is using SetupIntent and then take the PaymentMethod under it
is this recommendation for web only, right? for react native I can stick to the approach I have. Where I create PM on the client, then attach it to a customer, then use it.
?

#

another question, cant I create a PM in web using Express Checkout Element?

#

third question, where can I read more about this?

You could still choose to integrate directly with Apple and Google, then use their token to exchange to a Stripe token

languid heart
#

is this recommendation for web only, right
Yeah

cant I create a PM in web using Express Checkout Element?
No but there is something close, the Confirmation Token which you can use in backend to inspect some aspect of the collected Payment Method: https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#create-ct

And about the flow to integrate directly, you would want to find Google and Apple official documentation, and then write to Support and we will guide you on how to use the collected token to exchange to a Stripe token

Learn how to accept payments with the Express Checkout Element.