Jump to content

Prestashop 1.6 - Executing API Refunds with Action Hook


PrestashopEnthu

Recommended Posts

I am using Prestashop 1.6 with Stripe payment module at the moment. There is a backend functionality which enables to execute a full or partial refund by inserting "Stripe Transaction ID".

I would like to extend this feature into an individual order. That said, the image below is an execution when I clicked "Standard Refund" in individual order page.

enter image description here

I will grab the "Stripe Transaction ID" and amount to push to STRIPE via API for the refund to take place.

Can anyone advise on the action hook that is triggering when I execute the refund?

I have read on the hooks below. There are not much documentation nor anyone using these that I am able to refer to:

  1. hookActionProductCancel
  2. hookActionProductDelete
  3. cancelProduct
     

Thank you.

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...