omise / omise-magento

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

[ENGA3-618]: Removed credit memo creation logic. Set the order status to processing from closed on refund. #402

Closed aashishgurung closed 1 year ago

aashishgurung commented 1 year ago

1. Objective

Allow merchants to create credit memo manually by setting order status to processing on refund.

Jira Ticket: #618

2. Description of change

We removed the logic of automatically creating credit memo since we also need to restock the quantity and current implementation do not restock it. We will implement this once we find the way to restock the quantity. To allow merchants to create credit memo manually, we set the order status to processing, before it was set to closed.

3. Quality assurance

Place an order and refund it. The order status should be processing. It should work with both webhook enabled or disabled.

🔧 Environments:

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication