|
|
@@ -183,7 +183,7 @@ class RazorpaySettings(Document): |
|
|
|
def create_order(self, **kwargs): |
|
|
|
# Creating Orders https://razorpay.com/docs/api/orders/ |
|
|
|
|
|
|
|
# convert ruppes to paisa |
|
|
|
# convert rupees to paisa |
|
|
|
kwargs['amount'] *= 100 |
|
|
|
|
|
|
|
# Create integration log |
|
|
@@ -463,4 +463,4 @@ def validate_payment_callback(data): |
|
|
|
_throw() |
|
|
|
|
|
|
|
def handle_subscription_notification(doctype, docname): |
|
|
|
call_hook_method("handle_subscription_notification", doctype=doctype, docname=docname) |
|
|
|
call_hook_method("handle_subscription_notification", doctype=doctype, docname=docname) |