Skip to content

Commit

Permalink
changes made here
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravbalodi123 committed Feb 15, 2024
1 parent fa85e5b commit c7ad398
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
16 changes: 0 additions & 16 deletions routes/payment.js
Original file line number Diff line number Diff line change
@@ -1,16 +0,0 @@
















2 changes: 1 addition & 1 deletion views/cart/cart.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

<form action="https://www.example.com/payment/success/" method="POST">
<script src="https://checkout.razorpay.com/v1/checkout.js" data-key="rzp_test_L8LILoxkgL0qGv"
data-amount= "<%=totalAmount%>"
data-amount= "<%=totalAmount*100%>"
data - currency="INR"
data - order_id="order_CgmcjRh9ti2lP7"
data - buttontext="Pay with Razorpay"
Expand Down

0 comments on commit c7ad398

Please sign in to comment.