Skip to content

Commit

Permalink
testing out discount code
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurikam2003 committed Jul 5, 2024
1 parent de359ea commit 3db3566
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/src/services/PaymentServices.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ const PaymentServices = {
quantity: 1,
},
],
discounts: [
{
coupon: 'MSH2gI9n',
},
],
mode: 'payment',
success_url: `${process.env.CLIENT_BASE_URL}${
products[type]?.relativeUrlSuccess ?? products['orientation'].relativeUrlSuccess
Expand Down

0 comments on commit 3db3566

Please sign in to comment.