mollie / magento2

Mollie Payments for Magento 2
https://www.mollie.com
Other
100 stars 53 forks source link

[DOK-138] handle failed status #790

Closed yaroslav-qlicks closed 2 months ago

yaroslav-qlicks commented 3 months ago

Thank you for creating this pull request! To make the best use of your and our time we created this checklist to get the best possible pull requests:

This PR touches code in the following areas (Check what is applicable):

Frontend

Backend

Order Processing (Mollie communication)

Other If you didn't check any boxes above, please describe your changes in this section.

Please describe the bug/feature/etc this PR contains:

When customer goes to mollie side, select bankcontract and in test mode select "FAILED" status, press continue - redirect goes to magento and restore not the latest quote but one before latest This is happen because structure of order_ids is id => token and end function grab token and try to find order but we should grab latest order ID and not token

Scenario to test this code:

Open the environment and...

Frank-Magmodules commented 3 months ago

Thank you for submitting this, @yaroslav-qlicks. We will review your pull request!