Repository navigation
Le client change d'offre ou revient plus tard (0.3.0) - #8
Merged
Merged
Conversation
… un refus, 0.3.0 Routes toutes faites : reference_conflict fait passer à l'essai suivant, comme payment_expired (le montant de la commande a changé). Contrat v1 à 24 cas. README, AGENTS.md et llms.txt : la règle et un exemple ; test de scénario (essai expiré, nouvelle offre, référence réutilisée refusée).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cas réel du 15/11 : un client ouvre la page, ne paie pas, revient avec une autre offre ; l'app d'un partenaire répondait « un paiement existe déjà » alors que tout avait expiré.
reference_conflict→ essai suivant (commepayment_expired). Nouveau cas du contrat partagé (24 cas, copie identique dans tous les SDK).payment.completed, un essai non payé ne bloque jamais, reliregetPaymentau retour, rembourser un second paiement. Exemple Java.ChangementDOffreTest: essai 1 expiré, essai 2 d'un autre montant accepté, référence réutilisée →reference_conflict.