#j-_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/1288213096946471054
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
@cold patrol Can I ask you to ask a clear and detailed question upfront instead of putting really short info or fake ones such as a and then taking a while to update the question later?
It's much better for us if you take the time to file a clear question we can help with immediately
Hi @rotund orbit im using stripe.confirmPayment on <ExpressCheckoutElement onConfirm={completePayment} onReady={onReady} options={options} /> but i want to handle something after the payment returns successfull. My issue is that i want to get the PaymentIntent so i can redirect with the paymentIntentId, but this issue occurs
If the payment is successful then we redirect and you handle the "after" on the redirect page
it's unlikely to be if-requires with a dash, it's if_required instead
yes that
sorry to bother
i fixed it
another question
can i use const stripe = useStripe() before ```
<Elements
stripe={stripePromise}
options={{
mode: 'payment',
amount: total,
paymentMethodCreation: 'manual',
currency: 'mxn',
setup_future_usage: 'off_session',
appearance: {
theme: 'flat',
variables: {
fontFamily: 'Ideal Sans, system-ui, sans-serif',
spacingUnit: '5px',
colorPrimary: '#4fa94d',
borderRadius: '20px',
fontSmooth: 'auto',
},
},
}}
>
Hello
are you trying to integrate Web or Mobile SDK?