Plugin Support
Jignesh
(@jigneshmpatel)
Hello @bl-solutions
Thank you for reporting this.
We’ll begin troubleshooting the issue right away. If we’re able to confirm it on our end, we’ll work on a fix and provide an update.
We appreciate your patience in the meantime.
Best regards
Plugin Support
Jignesh
(@jigneshmpatel)
Hello @bl-solutions,
We’ve resolved the issue.
Until the next official release is available, you can download the fixed version from the following link: Download Link.
Thank you for your patience and understanding.
Best regards
Thread Starter
bungpm
(@bl-solutions)
Awesome, thank you.
I have reviewed the code change and have seen that you create a new refund entry for the order after getting the webhook from PayPal.
However, we trigger the refund by creating a new refund entry in the order in WooCommerce in the first place. We are also setting specific items that the refund is for and add a reason for the refund.
So I am assuming we will get doubled refund entries then? Also, the customer would get a second email about the same refund.
Thanks again and best,
Joern
-
This reply was modified 1 year ago by
bungpm.
Plugin Support
Jignesh
(@jigneshmpatel)
Hello @bl-solutions,
Thank you once again for your thoughtful feedback.
You’re absolutely right — when a refund is initiated from the WooCommerce admin panel, WooCommerce already creates the refund entry and sends the corresponding customer email.
To prevent any duplication, we’ve removed the code that was creating a refund entry upon receiving the PayPal refund webhook. This ensures that:
- No duplicate refund entries are created.
- The customer won’t receive multiple emails for the same refund.
- Refunds initiated from either WooCommerce or PayPal are handled cleanly without overlap.
We’ve already updated the ZIP file linked above with this correction. You can re-download it to apply the fix immediately.
This update will also be included in the next official release.
Best regards
Plugin Support
Jignesh
(@jigneshmpatel)
Hello @bl-solutions,
Just following up — could you please let us know if everything is working as expected now after applying the updated version?
Your confirmation will help us ensure this fix is fully resolved.
Best regards