TransbankDevelopers / transbank-plugin-magento2-webpay-rest

Plugin Magento 2 using Transbank REST API
BSD 3-Clause "New" or "Revised" License
4 stars 10 forks source link

fix: restore quote payment cancelled #81

Closed isabellaahc closed 3 months ago

isabellaahc commented 9 months ago

This PR resolves several issues associated with restoring cart (quote in magento) when user's order was canceled or rejected on Webpay form.

A cart is now only associated with a unique order.

Issues: https://github.com/TransbankDevelopers/transbank-plugin-magento2-webpay-rest/issues/65

Test

Webpay aborted flow

image

Webpay rejected flow

image

Webpay Ok

image

BD

image

Oneclick inscription aborted flow

image

Oneclick inscription rejected flow

image

Oneclick authorization rejected flow

image

Oneclick authorization Ok

image

BD

image image
sonarcloud[bot] commented 9 months ago

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

4 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

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