-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.php
More file actions
15 lines (11 loc) · 842 Bytes
/
init.php
File metadata and controls
15 lines (11 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
* Copyright (c) 2016, Tekart Ltd
* All rights reserved.
*/
OW::getRouter()->addRoute(new OW_Route('billing_paystack_order_form', 'billing-paystack/order', 'BILLINGPAYSTACK_CTRL_Order', 'form'));
OW::getRouter()->addRoute(new OW_Route('billing_paystack_notify', 'billing-paystack/order/notify', 'BILLINGPAYSTACK_CTRL_Order', 'notify'));
OW::getRouter()->addRoute(new OW_Route('billing_paystack_completed', 'billing-paystack/order/completed/', 'BILLINGPAYSTACK_CTRL_Order', 'completed'));
OW::getRouter()->addRoute(new OW_Route('billing_paystack_canceled', 'billing-paystack/order/canceled/', 'BILLINGPAYSTACK_CTRL_Order', 'canceled'));
OW::getRouter()->addRoute(new OW_Route('billing_paystack_admin', 'admin/billing-paystack', 'BILLINGPAYSTACK_CTRL_Admin', 'index'));
BILLINGPAYSTACK_CLASS_EventHandler::getInstance()->init();