Projet

Général

Profil

Development #47534

systempayv2: vads_trans_id peut contenir des caractères alphanumérique

Ajouté par Benjamin Dauvergne il y a plus de 3 ans. Mis à jour il y a plus de 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
10 octobre 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Ça permettra d'élargir un peu l'espace des possibles et se passer de créer des fichiers pour éviter les doublons.


Fichiers

Révisions associées

Révision b0ca3963 (diff)
Ajouté par Benjamin Dauvergne il y a plus de 3 ans

systempayv2: change type of vads_trans_id to alphanumeric (#47534)

Révision b1ebd698 (diff)
Ajouté par Benjamin Dauvergne il y a plus de 3 ans

systempayv2: do not use filesystem for unique vads_trans_id (#47534)

vads_trans_id character space is larger than what we use, using 6
alphanumeric characters probability of collision on a day is small, 1 on
2*10^9.

https://paiement.systempay.fr/doc/fr-FR/form-payment/reference/vads-trans-id.html

Historique

#1

Mis à jour par Benjamin Dauvergne il y a plus de 3 ans

#4

Mis à jour par Serghei Mihai il y a plus de 3 ans

J'aurais splitté en 2 patchs: le premier modifiant le type du champ et l'autre avec la génération de la valeur avec les contraintes sur la tranche réservée.

#6

Mis à jour par Serghei Mihai il y a plus de 3 ans

  • Statut changé de Solution proposée à Solution validée

Pas passionnant mais beaucoup plus lisible.

#7

Mis à jour par Benjamin Dauvergne il y a plus de 3 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit b1ebd698b3f206d4d389c5a979ebd88fe38e0419
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Sat Oct 10 12:36:57 2020 +0200

    systempayv2: do not use filesystem for unique vads_trans_id (#47534)

    vads_trans_id character space is larger than what we use, using 6
    alphanumeric characters probability of collision on a day is small, 1 on
    2*10^9.

    https://paiement.systempay.fr/doc/fr-FR/form-payment/reference/vads-trans-id.html

commit b0ca39636ae145a640081c97eb2aa499a801d854
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Tue Oct 13 00:29:22 2020 +0200

    systempayv2: change type of vads_trans_id to alphanumeric (#47534)
#8

Mis à jour par Frédéric Péters il y a plus de 3 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF