#flickcall
1 messages · Page 1 of 1 (latest)
Can you try this manual redirection method? https://stripe.com/docs/payments/3d-secure?platform=web#when-to-use-3d-secure
This method involves PaymentIntent API I guess. Since I am building using https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=elements guide that states "Subscriptions simplify your billing by automatically creating Invoices and PaymentIntents for you. ", how can I use redirect?
It's the same. From the Subscription should you have the latest_invoice, then the payment_intent inside. When you confirm it, pass the return_url as the Doc suggested
confirm as in this using this on client side?
const {error} = await stripe.confirmPayment({
//Elements instance that was used to create the Payment Element
elements,
confirmParams: {
return_url: "https://example.com/order/123/complete",
}
});
Yes
Awesome. Will try it out. Thanks a lot for prompt response 😀
one more question, is there a way to make it conditional based on some events of flag eg, if site is blocked, open in new tab else continue normal flow. Some bank support iframe
I see what you mean but we can't know until we display the popup. There could be a lot of different banks