Added a logic to reverse the cancelled items before proceeding to change the order status to processing.
3. Quality assurance
Setup
Disable webhook
In Credit card settings, set Payment Action to Authorize only so that we see cancel button in the order page. Setting Payment Action to Authorize and Capture hides the cancel button as the payment will be already paid in this case.
Testing
Place an order
Go to Magento admin dashboard > Order > Cancel the order
Go to Opn dashboard and capture the charge
Return to Magento admin dashboard > Order > click on Sync Order Status button.
1. Objective
Change order status from
cancelled
toprocessing
when merchants syncs the order status usingSync Order Status
button.Jira Ticket: #728
2. Description of change
Added a logic to reverse the cancelled items before proceeding to change the order status to
processing
.3. Quality assurance
Setup
Payment Action
toAuthorize only
so that we seecancel
button in the order page. SettingPayment Action
toAuthorize and Capture
hides thecancel
button as the payment will be already paid in this case.Testing
Sync Order Status
button.processing
.🔧 Environments: