#talon_api
1 messages ¡ Page 1 of 1 (latest)
đ 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/1284196166363381881
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- talon_api, 21 hours ago, 14 messages
- talon_api, 22 hours ago, 20 messages
- talon_api, 1 day ago, 36 messages
- talon_wallet-only, 1 day ago, 10 messages
- talon_connect-dispute, 3 days ago, 6 messages
- talon_api, 4 days ago, 12 messages
Hello
You actually set it in both front and backend here.
The frontend controls what the UI actually shows
And then when you create your PaymentIntent on the backend you set the corresponding amount to actually charge that amount
got it, make sense.
and where do i need to show for react native component. I beleive i need to use PlatformPayButton (alternative of expresscheckoutelement)
What do you mean by "where do I need to show"?
And yes, you use PlatformPayButton for React Native
the amount, I can show the amount in options field for ExpressCheckoutElement
but what about reactNative
web
const options = {
mode: 'payment',
amount: 1099,
currency: 'usd',
// Customizable with appearance API.
appearance: {/*...*/},
};
return (
<Elements stripe={stripePromise} options={options}>
<CheckoutPage />
</Elements>
In guide they only set on backend for ReactNative
Ah you are right, sorry.
I forgot with PlatformPayButton that the modal is presented when you call confirmPlatFormPayPayment()
So yeah that uses the value you set on your backend that corresponds with the PaymentIntent
As you pass the PaymentIntent's client secret to confirmPlaytformPayPayment()
Yep