浏览代码

Merge branch 'develop' into fix-urlencode

pull/2/head
Rushabh Mehta 7 年前
committed by GitHub
父节点
当前提交
81a664f091
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      payments/templates/pages/razorpay_checkout.py

+ 2
- 1
payments/templates/pages/razorpay_checkout.py 查看文件

@@ -5,6 +5,7 @@ import frappe
from frappe import _
from frappe.utils import flt, cint
import json
from six import string_types

no_cache = 1
no_sitemap = 1
@@ -39,7 +40,7 @@ def get_api_key():
def make_payment(razorpay_payment_id, options, reference_doctype, reference_docname):
data = {}

if isinstance(options, basestring):
if isinstance(options, string_types):
data = json.loads(options)

data.update({


正在加载...
取消
保存