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
Checkout with any item
On reaching the authorize page,
First, test by authorizing the payment
Second, test by not authorizing the payment. Simply close the page once you reach there.
On Magento admin, find the order and cancel it manually.
You can cancel the order from Omise admin dashboard by marking the charge as failed.
On Omise admin dashboard, find the charge and mark it as a success.
On Magento admin, check the order you just cancelled. It status should be set to processing and appropriate comment should be there in the comment history.
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: