Skip to content

Commit

Permalink
remove redirect url to check
Browse files Browse the repository at this point in the history
  • Loading branch information
ih-abir committed Feb 8, 2024
1 parent acc69df commit cc14013
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/workers/dilmahtea-me-stripe/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ const handlePOST = async (request, env, ctx) => {
// return_url: successUrl,
// });

const redirectUrl = paymentIntent.next_action?.redirect_to_url?.url || cancel_url;

ctx.waitUntil(
createBaserowRecord(
{
Expand All @@ -138,7 +136,6 @@ const handlePOST = async (request, env, ctx) => {
);


return Response.redirect(redirectUrl, 303);
};

handlePOST.catchError = true;
Expand Down

0 comments on commit cc14013

Please sign in to comment.