Replies: 0
Hey, guys!
I found a few issues with the way your plugin handles refunds and I’m hoping you can solve them soon.
Issue 1
When a partial refund is given from the Twispay account, your plugin places a full refund in WooCommerce and changes the order status to Refunded.
When a partial refund is given, the refund value should have the same value as the one given from the Twispay account and the order status should remain unchanged. (WooCommerce marks orders as Refunded only for full refunds)
Issue 2
When a full refund is given from the Twispay account, your plugin changes the status of the order as Cancelled.
The status of the order should be set as Refunded if the previous order status was Completed or Cancelled if the previous order status was anything else.
Best regards,
Eusebiu Oprinoiu