Author Topic: fasti checkout success hooks  (Read 3215 times)

natdroid

  • Guest
fasti checkout success hooks
« 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!

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2051
  • Karma: +320/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: fasti checkout success hooks
« Reply #1 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

“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod