payfip: set min_time_between_transactions to 20 minutes (#49144)

This commit is contained in:
Benjamin Dauvergne 2021-03-11 12:59:22 +01:00
parent 3b5dbb6537
commit 842eeaacf0
2 changed files with 6 additions and 0 deletions

View File

@ -213,6 +213,8 @@ class Payment(PaymentCommon):
],
}
min_time_between_transactions = 60 * 20 # 20 minutes
def __init__(self, *args, **kwargs):
super(Payment, self).__init__(*args, **kwargs)
wsdl_url = self.wsdl_url

View File

@ -480,3 +480,7 @@ def test_invalid_transaction_id_invalid_orderid(get_idop, backend):
'url_notification': NOTIF_URL,
'url_redirect': REDIRECT_URL,
}
def test_get_min_time_between_transactions(backend):
assert backend.get_min_time_between_transactions() == 20 * 60