alma / alma-monthlypayments-magento2

Magento 2 Payment Gateway integration for Alma
Other
6 stars 9 forks source link

Remove insurance products from active carts when insurance is disabled #197

Closed Francois-Gomis closed 1 week ago

Francois-Gomis commented 1 week ago

Reason for change

Disable Alma insurance product to remove it from active cart and delete insurance data in quote_item DB Enable Alma insurance product when insurance is activated

Linear task

Code changes

Trigger enable and disable/delete data at config save

How to test

Create a quote with an insurance. Disable insurance and check product in BO Check Cart and minicart. Enable insurance and check product in BO

As a reviewer, you are encouraged to test the PR locally.

Checklist for authors and reviewers

Non applicable

github-actions[bot] commented 1 week ago

⏳E2E tests are currently running. ➡️ You can follow their progression here.

github-actions[bot] commented 1 week ago

❌ E2E tests have failed. ➡️ You can find the results here.

github-actions[bot] commented 1 week ago

⏳E2E tests are currently running. ➡️ You can follow their progression here.

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

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

See analysis details on SonarCloud

github-actions[bot] commented 1 week ago

❌ E2E tests have failed. ➡️ You can find the results here.

Benjamin-Freoua-Alma commented 1 week ago

QA ok