Skip to content
Permalink
Browse files

[FIX] payment_sips: Wrong test and production URLs

The production/test urls were inverted.

opw:2061123

closes #36620

Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
  • Loading branch information...
simongoffin committed Sep 10, 2019
1 parent f284f10 commit bcd19db0212683c553ce9cdf7fc5320cc7847496
Showing with 2 additions and 2 deletions.
  1. +2 −2 addons/payment_sips/models/payment.py
@@ -43,8 +43,8 @@ class AcquirerSips(models.Model):
provider = fields.Selection(selection_add=[('sips', 'Sips')])
sips_merchant_id = fields.Char('Merchant ID', help="Used for production only", required_if_provider='sips', groups='base.group_user')
sips_secret = fields.Char('Secret Key', size=64, required_if_provider='sips', groups='base.group_user')
sips_test_url = fields.Char("Test's url", required_if_provider='sips', groups='base.group_no_one', default='https://payment-webinit.sips-atos.com/paymentInit')
sips_prod_url = fields.Char("Prod's url", required_if_provider='sips', groups='base.group_no_one', default='https://payment-webinit.simu.sips-atos.com/paymentInit')
sips_test_url = fields.Char("Test's url", required_if_provider='sips', groups='base.group_no_one', default='https://payment-webinit.simu.sips-atos.com/paymentInit')
sips_prod_url = fields.Char("Prod's url", required_if_provider='sips', groups='base.group_no_one', default='https://payment-webinit.sips-atos.com/paymentInit')
sips_version = fields.Char("Interface Version", required_if_provider='sips', groups='base.group_no_one', default='HP_2.3')

def _sips_generate_shasign(self, values):

0 comments on commit bcd19db

Please sign in to comment.
You can’t perform that action at this time.