fix: payment status

This commit is contained in:
Денис Катаев 2024-01-23 18:27:22 +00:00 committed by Victor Ershov
parent 212b7cbccb
commit 3520f9f181

View File

@ -42,7 +42,7 @@ export default function CheckoutForm({
const { error } = await stripe.confirmPayment({ const { error } = await stripe.confirmPayment({
elements, elements,
confirmParams: { confirmParams: {
return_url: `https://${window.location.host}/payment/result/${subscriptionReceiptId}`, return_url: `https://${window.location.host}/payment/result/${subscriptionReceiptId}/`,
}, },
}); });
if (error) { if (error) {