Skip to content

Commit

Permalink
remove cancel_url from paymentIntent
Browse files Browse the repository at this point in the history
  • Loading branch information
ih-abir committed Feb 8, 2024
1 parent 8333c28 commit 95fbb55
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/workers/dilmahtea-me-stripe/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ const handlePOST = async (request, env, ctx) => {
metadata: { paymentID, payment_type },
confirm: true,
return_url: successUrl,
cancel_url: cancel_url,
});

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

0 comments on commit 95fbb55

Please sign in to comment.