Skip to content
Snippets Groups Projects
Commit f89e8f9d authored by Damien Bouvy's avatar Damien Bouvy
Browse files

[IMP] payment, website_sale, website_payment: unique reference on payment no longer prevent paying

Payment transactions referenceis have a unique constraint which was problematic when a payment was cancelled from the acquirer's page.
To stick the to DRY principle, I factorized a method that checks for existing references and happens a numerical suffix if necessary.
This was already implemented in website_payment but was moved to payment and used in website_sale.
parent 727f7c41
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment