omise / omise-magento

Omise Magento Plugin
https://docs.opn.ooo/magento-plugin
MIT License
34 stars 19 forks source link

[FRON-1536]: Refactored the code. Added a logic to reverse the cancelā€¦ #359

Closed aashishgurung closed 2 years ago

aashishgurung commented 2 years ago

1. Objective

Update the order status when charge status is updated manually by Operations Team.

Jira Ticket: #1536

2. Description of change

Added a logic to reverse the cancelled order and set the status as processing when the order status is cancelled and the charge is successful. This will be triggered via the webhook. Refactored the Complete.php file.

3. Quality assurance

šŸ”§ Environments:

tanawin-opn commented 2 years ago

Tested and works as expected.