[fix][minor] (#6449)
This commit is contained in:
parent
1765259043
commit
afa14fc402
@ -65,7 +65,7 @@ class PaymentRequest(Document):
|
|||||||
data = frappe.db.get_value(self.reference_doctype, self.reference_name,
|
data = frappe.db.get_value(self.reference_doctype, self.reference_name,
|
||||||
["company", "customer_name"], as_dict=1)
|
["company", "customer_name"], as_dict=1)
|
||||||
|
|
||||||
controller = get_integration_controller(self.payment_gateway, setup=False)
|
controller = get_integration_controller(self.payment_gateway)
|
||||||
controller.validate_transaction_currency(self.currency)
|
controller.validate_transaction_currency(self.currency)
|
||||||
|
|
||||||
return controller.get_payment_url(**{
|
return controller.get_payment_url(**{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user