Hi, Im trying to create new controller for my extension to redirect success payment to this controller before getting checkout/success page.
i got this error after i make a payment.
Fatal error: Class 'AController' not found in {path}\extensions\payment_gateway\storefront\controller\responses\extension\rsi_payment_callback.php
how to fix it this issue?
Hi. You doing something wrong.
Check file public_html/core/init.php
You should find require_once(DIR_CORE.'engine/controller.php'); there.
check if this file loaded
i already look at the file you ask for but there is no "require_once(DIR_CORE.'engine/controller.php');" loaded in there
Quote from: shahiran12395 on June 10, 2019, 03:35:44 AM
i already look at the file you ask for but there is no "require_once(DIR_CORE.'engine/controller.php');" loaded in there
is there anything i need to add in the init.php file?
Quote from: shahiran12395 on June 10, 2019, 03:36:41 AM
Quote from: shahiran12395 on June 10, 2019, 03:35:44 AM
i already look at the file you ask for but there is no "require_once(DIR_CORE.'engine/controller.php');" loaded in there
is there anything i need to add in the init.php file?
my bad. my editor not search right result. the file loaded once. then what is the next step?