omise / omise-magento

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

[ENGA3-540] : Bug fixed on partial refund #399

Closed ajzkk closed 1 year ago

ajzkk commented 1 year ago

1. Objective

Bug fixed on partial refund

Partial refund was not working since getGrandTotalAmount() was using in RefundDataBuilder Instead get order from payment and get proper store_id, order currency and online refunded amount.

Related information: ENGA3-540

2. Description of change

3. Quality assurance

4. Impact of the change

N/A

5. Priority of change

Normal

6. Additional Notes

N/A

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 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication