浏览代码

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 年前
committed by GitHub
父节点
当前提交
64203433d2
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      payments/payment_gateways/doctype/razorpay_settings/razorpay_settings.py

+ 2
- 2
payments/payment_gateways/doctype/razorpay_settings/razorpay_settings.py 查看文件

@@ -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)

正在加载...
取消
保存