[fix][minor] (#6449)

This commit is contained in:
Saurabh 2016-10-10 17:17:17 +05:30 committed by Rushabh Mehta
parent 1765259043
commit afa14fc402

View File

@ -65,7 +65,7 @@ class PaymentRequest(Document):
data = frappe.db.get_value(self.reference_doctype, self.reference_name,
["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)
return controller.get_payment_url(**{