Browse Source

Update frappe/integrations/doctype/razorpay_settings/razorpay_settings.py

Co-Authored-By: Faris Ansari <netchampfaris@users.noreply.github.com>
pull/2/head
Shivam Mishra 5 years ago
committed by GitHub
parent
commit
64203433d2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      payments/payment_gateways/doctype/razorpay_settings/razorpay_settings.py

+ 2
- 2
payments/payment_gateways/doctype/razorpay_settings/razorpay_settings.py View File

@@ -183,7 +183,7 @@ class RazorpaySettings(Document):
def create_order(self, **kwargs): def create_order(self, **kwargs):
# Creating Orders https://razorpay.com/docs/api/orders/ # Creating Orders https://razorpay.com/docs/api/orders/


# convert ruppes to paisa
# convert rupees to paisa
kwargs['amount'] *= 100 kwargs['amount'] *= 100


# Create integration log # Create integration log
@@ -463,4 +463,4 @@ def validate_payment_callback(data):
_throw() _throw()


def handle_subscription_notification(doctype, docname): 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)

Loading…
Cancel
Save