Jump to content

Automatic refund when I return an item to stock


cocothehorse

Recommended Posts

Hi.

We recently updated our PayPal module to 3.8.1 and ever since this, when we return an item to stock from a customer return, our webshop is automatically refunding the customer where they paid via PayPal.

This is causing some issues as often a customer merely requires a different size/colour of product, but we cannot ship it as the system has already issued a refund of the payment back to the customer.

I have logged it as a technical query with PayPal, and their response is that it is a configuration issue within our store.

Where do I find this parameter to disable it.

Cheers for any help

Chris

Link to comment
Share on other sites

By default the module registers the "cancel product" hook, and as part of that event, it will attempt to refund the customer.

You should be able to remove the "cancel product" hook to prevent this.

 

In your back office, go to the modules > positions page, and then choose "Paypal" from the drop down.  Then search for "actionCancelProduct" and "unhook" the Paypal module from that section.

 

If you upgrade, reset or re-install the module, you will have to redo this.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...