Closed tribiec closed 3 months ago
This PR adds a validation to prevent double authorization from occurring if the user reloads the page while authorizing a payment or manually calls the authorize endpoint.
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots 0.0% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarCloud
This PR adds a validation to prevent double authorization from occurring if the user reloads the page while authorizing a payment or manually calls the authorize endpoint.
Test
Authorization Ok
Authorization error
Reload page when payment is Ok