#pepper-_api

1 messages ¡ Page 1 of 1 (latest)

velvet stirrupBOT
#

👋 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/1216916706950381608

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

unreal remnant
#

Someone showed me that there is a mobile example

#

Is there a way to add shipping method to the mobile elemnets, or this is for payment links only?

dark glenBOT
zenith wind
unreal remnant
zenith wind
#

depending on the specific payment method, certain additional information such as address, name, etc might be collected as well

unreal remnant
#

I see there is no checkout session implementation on mobile either, I will need to request a URL from my server that creates this checkout session with the stripe API. Is that right?

zenith wind
#

yes that's correct

unreal remnant
#

ah thanks!

#

Does the checkout session return anything when payment is completed? I assume it triggers the checkout.session.completed webhook, so I will need to listen for it if for example, I show the checkout URL in a webview in my mobile app. I need this to know when to exit the webview and return to the application

Or is there a customizable message after payment is completed to request users to return to the app?

zenith wind
#

yep, if it's completed there's a checkout.session.completed webhook, there's also a success_url and return_url which you can pass in when creating the Checkout Session

unreal remnant
#

is that in embedded forms only?

#

well webview should be fine

zenith wind
#

no, it's available for hosted checkout sessions too