lingo: update default TIPI payment service URL (#47537)
This commit is contained in:
parent
188be78eaf
commit
f5918c45da
|
@ -41,7 +41,7 @@ class Migration(migrations.Migration):
|
|||
(
|
||||
'url',
|
||||
models.URLField(
|
||||
default=b'https://www.tipi.budget.gouv.fr/tpa/paiement.web',
|
||||
default=b'https://www.payfip.gouv.fr/tpa/paiement.web',
|
||||
verbose_name='TIPI payment service URL',
|
||||
),
|
||||
),
|
||||
|
|
|
@ -48,7 +48,7 @@ class Migration(migrations.Migration):
|
|||
model_name='tipipaymentformcell',
|
||||
name='url',
|
||||
field=models.URLField(
|
||||
default='https://www.tipi.budget.gouv.fr/tpa/paiement.web',
|
||||
default='https://www.payfip.gouv.fr/tpa/paiement.web',
|
||||
verbose_name='TIPI payment service URL',
|
||||
),
|
||||
),
|
||||
|
|
|
@ -1286,7 +1286,7 @@ TIPI_CONTROL_PROCOTOLS = (
|
|||
class TipiPaymentFormCell(CellBase):
|
||||
title = models.CharField(_('Title'), max_length=150, blank=True)
|
||||
url = models.URLField(
|
||||
_('TIPI payment service URL'), default='https://www.tipi.budget.gouv.fr/tpa/paiement.web'
|
||||
_('TIPI payment service URL'), default='https://www.payfip.gouv.fr/tpa/paiement.web'
|
||||
)
|
||||
regies = models.CharField(
|
||||
_('Regies'),
|
||||
|
|
|
@ -216,7 +216,7 @@ def test_tipi_cell():
|
|||
cell.order = 0
|
||||
cell.save()
|
||||
assert cell.control_protocol == 'pesv2'
|
||||
assert cell.url == 'https://www.tipi.budget.gouv.fr/tpa/paiement.web'
|
||||
assert cell.url == 'https://www.payfip.gouv.fr/tpa/paiement.web'
|
||||
assert cell.template_name == 'lingo/tipi_form.html'
|
||||
html = cell.render({})
|
||||
assert "<h2>TIPI Payment</h2>" in html
|
||||
|
|
Loading…
Reference in New Issue