#flickcall

1 messages · Page 1 of 1 (latest)

strong schoonerBOT
thick cove
twilit trench
thick cove
#

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

twilit trench
#

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",
}
});

thick cove
#

Yes

twilit trench
#

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

thick cove
#

I see what you mean but we can't know until we display the popup. There could be a lot of different banks