Show Posts


Messages - talha

Pages: [1]
1
API Development / Re: store front api from extension
« on: January 09, 2025, 09:17:10 AM »
$controllers = [
    'storefront' => [
        'extension/teapplix/notify'
    ],
    'admin'      => [],
];
this is main.php file's code
and this controller name ControllerExtensionTeapplixNotify
and this is file path where notify controller exists extensions/teapplix/storefront/controller/extension/teapplix/notify.php

class ControllerExtensionTeapplixNotify extends AController {
    public function index() {
      echo 'notify index function';
     }
}

2
API Development / store front api from extension
« on: January 01, 2025, 04:18:50 AM »
hi there, i have developed an extension for Teapplix.
case scenario: when order confirmed extension will send order information to teapplix. and similarly teapplix will send return back order updated information to our system via api.
extension is developed and sending order information to teapplix and what issue i am facing is the api url i created (where teapplix will send back order updated information) is giving the error the page you requested can not be found! .
please help how to create api url in extension
also i have added the file path in main.php file   

Pages: [1]

Powered by SMFPacks Social Login Mod