#j-_api

1 messages ¡ Page 1 of 1 (latest)

winter gulchBOT
#

👋 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.

rotund orbit
#

@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

severe nebula
#

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

rotund orbit
#

If the payment is successful then we redirect and you handle the "after" on the redirect page

severe nebula
#

omg, i needed to define redirect:'if-required'

#

so the error dissappear

rotund orbit
#

it's unlikely to be if-requires with a dash, it's if_required instead

severe nebula
#

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',
},
},
}}
>

winter gulchBOT
summer grotto
#

Hello
are you trying to integrate Web or Mobile SDK?

severe nebula
#

hanzo, im sorry, i solve all the issues

#

Thank you for your time