瀏覽代碼

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({


Loading…
取消
儲存