[FIX] payment_authorize: update API URL
Update Authorize.net to new gateway URI cf https://community.developer.authorize.net/t5/The-Authorize-Net-Developer-Blog/Important-Authorize-Net-Networking-Change/ba-p/51272 Closes #8191
This commit is contained in:
committed by
Martin Trigaux
parent
16abe18649
commit
3dc5a38855
@@ -20,7 +20,7 @@ class PaymentAcquirerAuthorize(models.Model):
|
||||
def _get_authorize_urls(self, environment):
|
||||
""" Authorize URLs """
|
||||
if environment == 'prod':
|
||||
return {'authorize_form_url': 'https://secure.authorize.net/gateway/transact.dll'}
|
||||
return {'authorize_form_url': 'https://secure2.authorize.net/gateway/transact.dll'}
|
||||
else:
|
||||
return {'authorize_form_url': 'https://test.authorize.net/gateway/transact.dll'}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user