Commit 2c9a08ff authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_jio: Payment state dont requires to be json

parent 43bb8a4d
import json
state = context.AccountingTransaction_getPaymentState()
payment_transaction = None
payment_mode = None
......@@ -8,6 +6,6 @@ if state == "Pay now":
payment_transaction = payment_transaction_value.getRelativeUrl()
payment_mode = payment_transaction_value.getPaymentMode()
return json.dumps({"state": context.Base_translateString(state),
return {"state": context.Base_translateString(state),
"payment_mode": payment_mode,
"payment_transaction": payment_transaction})
"payment_transaction": payment_transaction}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment