Development #47534
systempayv2: vads_trans_id peut contenir des caractères alphanumérique
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
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
Mis à jour par Benjamin Dauvergne il y a plus de 3 ans
- Fichier 0001-systempayv2-do-not-use-filesystem-for-unique-vads_tr.patch 0001-systempayv2-do-not-use-filesystem-for-unique-vads_tr.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Benjamin Dauvergne il y a plus de 3 ans
- Fichier Firefox_Screenshot_2020-10-12T14-51-12.296Z.png Firefox_Screenshot_2020-10-12T14-51-12.296Z.png ajouté
- Fichier Firefox_Screenshot_2020-10-12T14-50-23.332Z.png Firefox_Screenshot_2020-10-12T14-50-23.332Z.png ajouté
Avec et sans numéro de facture.
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.
Mis à jour par Benjamin Dauvergne il y a plus de 3 ans
- Fichier 0002-systempayv2-do-not-use-filesystem-for-unique-vads_tr.patch 0002-systempayv2-do-not-use-filesystem-for-unique-vads_tr.patch ajouté
- Fichier 0001-systempayv2-change-type-of-vads_trans_id-to-alphanum.patch 0001-systempayv2-change-type-of-vads_trans_id-to-alphanum.patch ajouté
Ça fait un premier commit pas passionnant du tout, mais soit.
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.
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)
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
systempayv2: change type of vads_trans_id to alphanumeric (#47534)