diff --git a/payments/payment_gateways/doctype/razorpay_settings/razorpay_settings.py b/payments/payment_gateways/doctype/razorpay_settings/razorpay_settings.py index 903bb7f..ae7e10e 100644 --- a/payments/payment_gateways/doctype/razorpay_settings/razorpay_settings.py +++ b/payments/payment_gateways/doctype/razorpay_settings/razorpay_settings.py @@ -183,13 +183,13 @@ 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 integration_request = create_request_log(kwargs, "Host", "Razorpay") - # Setup payment otptions + # Setup payment options payment_options = { "amount": kwargs.get('amount'), "currency": kwargs.get('currency', 'INR'), @@ -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) \ No newline at end of file + call_hook_method("handle_subscription_notification", doctype=doctype, docname=docname)