AbanteCart Community

AbanteCart Development => Extensions and Add-Ons => General Extensions => Topic started by: natdroid on March 11, 2023, 10:58:35 AM

Title: fasti checkout success hooks
Post by: natdroid on March 11, 2023, 10:58:35 AM
hello my friends. Please do help to find how to hook the fast checkout success
I do try the public function afterControllerResponsesCheckoutPay_success() but my extension cant to catch fast checkout order success. PLEASE HELP!
Title: Re: fasti checkout success hooks
Post by: abolabo on March 13, 2023, 10:59:00 AM
welcome back! :-)

If you want to hook before order confirmation you should do this
Code: [Select]
public function onControllerResponsesCheckoutPay_UpdateData(){ ... }
If you wish to show something after just hook page controller ControllerPagesCheckoutFastCheckoutSuccess

Code: [Select]
public function onControllerResponsesCheckoutPay_InitData(){...}or
Code: [Select]
public function onControllerResponsesCheckoutPay_UpdateData(){...}
You can find examples into another extensions of our code distributive.

Regards