- Issue : When we reorder from admin, & pay using customer store credit balance then order gets placed but store credit doesn't get deducted.
Using Magento/2.4 (Enterprise)
Steps to replicate error
- Issue store credit in M2 via credit memo.
- Go to customer’s account in M2
- Click reorder
- Add or update item if necessary
- Edit prices if necessary
- Edit addresses if necessary
- Select Store Credit as payment method and select shipping method
- Click submit order
Then if you look at the customer’s account the store credit did not get auto-deducted.
I have checked class
Magento2/vendor/magento/module-sales/Controller/Adminhtml/Order/Create/Save.php
But i did not found any code here that deduct store credit for order when order paid using customer store credit.
Any thoughts on this please ?