|
@@ -3,7 +3,7 @@ |
|
|
Razorpay Payment |
|
|
Razorpay Payment |
|
|
|
|
|
|
|
|
1. Include checkout script in your code |
|
|
1. Include checkout script in your code |
|
|
<script type="text/javascript" src="/assets/frappe/dist/js/checkout.bundle.js"></script> |
|
|
|
|
|
|
|
|
{{ include_script('checkout.bundle.js) }} |
|
|
|
|
|
|
|
|
2. Create the Order controller in your backend |
|
|
2. Create the Order controller in your backend |
|
|
def get_razorpay_order(self): |
|
|
def get_razorpay_order(self): |
|
|