Explorar el Código

Merge branch 'develop' into fix-urlencode

pull/2/head
Rushabh Mehta hace 7 años
committed by GitHub
padre
commit
81a664f091
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      payments/templates/pages/razorpay_checkout.py

+ 2
- 1
payments/templates/pages/razorpay_checkout.py Ver fichero

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


Cargando…
Cancelar
Guardar