From 61459511aa9d61308c1efa72a795889885dca89b Mon Sep 17 00:00:00 2001 From: Nikunj Ladava Date: Thu, 12 Sep 2019 09:38:16 +0000 Subject: [PATCH] [FIX] payment_payumoney: update sandbox env url before this commit: it gives error when we redirect to payumoney site after this commit: payment testing in payumoney is working as expected closes odoo/odoo#36937 X-original-commit: 97c0ece7857ca56b1fd20d3772262def5aeebdc4 Signed-off-by: Nicolas Martinelli (nim) --- addons/payment_payumoney/models/payment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/payment_payumoney/models/payment.py b/addons/payment_payumoney/models/payment.py index 91e6023e107..2a4be713e48 100644 --- a/addons/payment_payumoney/models/payment.py +++ b/addons/payment_payumoney/models/payment.py @@ -26,7 +26,7 @@ class PaymentAcquirerPayumoney(models.Model): if environment == 'prod': return {'payumoney_form_url': 'https://secure.payu.in/_payment'} else: - return {'payumoney_form_url': 'https://test.payu.in/_payment'} + return {'payumoney_form_url': 'https://sandboxsecure.payu.in/_payment'} def _payumoney_generate_sign(self, inout, values): """ Generate the shasign for incoming or outgoing communications.