malsubrata / woo-wallet

WooCommerce Wallet
GNU General Public License v3.0
78 stars 37 forks source link

Product refund: used wallet balance is not credited back #56

Open fabiomail opened 4 years ago

fabiomail commented 4 years ago

Hello,

I found a problem when a user makes an order using his wallet credit balance and then a refund is issued. I am expecting the following:

  1. User side: the "pay by wallet" amount is credited back to the user's wallet
  2. Vendor side: Vendor's earning for the order goes back to zero

On the contrary, the current TeraWallet behavior is to:

  1. User side: no cashback credit is issued after refund!
  2. Vendor side: Vendor's earning is negative (for the amount of the "pay by wallet" value)!!

Please see video: https://drive.google.com/file/d/1JngbBYA0pJTCdVe1R4iVWkT-uB6O_Kra/view?usp=sharing

I look forward to hearing from you