Skip to content

Commit

Permalink
paymentIntent reutrn_url
Browse files Browse the repository at this point in the history
  • Loading branch information
ih-abir committed Feb 8, 2024
1 parent 19607f5 commit e7a75cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/workers/dilmahtea-me-stripe/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ const handlePOST = async (request, env, ctx) => {
currency: 'eur',
metadata: { paymentID, payment_type },
confirm: true,
return_url: successUrl,
});

// const confirmPaymentIntent = await stripe.paymentIntents.confirm(paymentIntent.id, {
Expand Down

0 comments on commit e7a75cb

Please sign in to comment.