Jump to content

Recommended Posts

What's the difference between hookPaymentReturn and hookDisplayOrderConfirmation? thanks :)

Share this post


Link to post
Share on other sites

Hello,

It's well described the name of the Hook:)
 

On Confirm happing something when the customer makes a new order.

On PaymentReterun happing something when the order refunded or something like that :)

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Hello:

hookDisplayOrderConfirmation is used to do some process after order confirmation. hookPaymentReturn is used after that usually to show some post confirmation message. For example, paypal module use hookDisplayOrderConfirmation because is an online payment method, bankwire just hookPaymentReturn.

Regards

  • Thanks 1

Share this post


Link to post
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

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More