59 lines
2.9 KiB
PHP
59 lines
2.9 KiB
PHP
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
|
|
|
|
if(ENVIRONMENT == 'development' || ENVIRONMENT == 'testing')
|
|
{
|
|
$config['jwt_key'] = 'uKLrzsqVNTamCRwIDAQAB';
|
|
$config['authorization_key'] = 'csr_dev';
|
|
|
|
/********* IOB PAYMENT GATEWAY RELATED CONFIGS ********/
|
|
$config['merchant_id'] = 'APIMER';
|
|
$config['merchant_sub_id'] = 'TNSCHE';
|
|
$config['encryption_key'] = '0005F00BD34F4FA921E4A8E9C05BB604';
|
|
$config['encryption_iv'] = 'BefvKazCRU5rFuTx';
|
|
$config['sign_key'] = 'l43SLajtLp6H5iO155cvk4pJIIAgmww9';
|
|
$config['token_generation_url'] = 'https://testapp.iobnet.org/iobpay/iobpayRESTService/apitokenservice/generatenewtoken/';
|
|
$config['txn_initiate_url'] = 'https://testapp.iobnet.org/iobpay/apitxninit.do';
|
|
$config['txn_status_url'] = 'https://testapp.iobnet.org/iobpay/iobpayRESTService/apitxnstatusservice/gettxnstatus/';
|
|
$config['merchant_reply_url'] = 'https://lms.venbainfotech.com/csrb/api/receiveIOBPAYResponse';
|
|
$config['referer_url'] = 'https://testapp.iobnet.org';
|
|
|
|
if(ENVIRONMENT == 'development')
|
|
{
|
|
$config['success_url'] = 'http://localhost:4200/#/payment-status/success';
|
|
$config['failure_url'] = 'http://localhost:4200/#/payment-status/failure';
|
|
$config['awaited_url'] = 'http://localhost:4200/#/payment-status/awaited';
|
|
}
|
|
else if(ENVIRONMENT == 'testing')
|
|
{
|
|
$config['success_url'] = 'https://venbainfotech.com/tnschools/csrweb/#/payment-status/success';
|
|
$config['failure_url'] = 'https://venbainfotech.com/tnschools/csrweb/#/payment-status/failure';
|
|
$config['awaited_url'] = 'https://venbainfotech.com/tnschools/csrweb/#/payment-status/awaited';
|
|
}
|
|
/********* IOB PAYMENT GATEWAY RELATED CONFIGS ********/
|
|
}
|
|
else if(ENVIRONMENT == 'production')
|
|
{
|
|
$config['jwt_key'] = 'uKLrzsqVNTamCRwIDAQAB';
|
|
$config['authorization_key'] = 'csr_dev';
|
|
|
|
|
|
/********* IOB PAYMENT GATEWAY RELATED CONFIGS ********/
|
|
$config['merchant_id'] = 'APIMER';
|
|
$config['merchant_sub_id'] = 'TNSCHE';
|
|
$config['encryption_key'] = '84BE056FF58C364A0FACEBDC3D652F8B';
|
|
$config['encryption_iv'] = 'f08JI6buSXQjceFY';
|
|
$config['sign_key'] = 'gXhOhchZ5BAqCYqKdX3osXsdDoH00DHa';
|
|
$config['token_generation_url'] = 'https://www.iobnet.co.in/iobpay/iobpayRESTService/apitokenservice/generatenewtoken/';
|
|
$config['txn_initiate_url'] = 'https://www.iobnet.co.in/iobpay/apitxninit.do';
|
|
$config['txn_status_url'] = 'https://www.iobnet.co.in/iobpay/iobpayRESTService/apitxnstatusservice/gettxnstatus/';
|
|
$config['merchant_reply_url'] = 'https://contribute.tnschools.gov.in/csrb/api/receiveIOBPAYResponse';
|
|
$config['referer_url'] = 'https://www.iobnet.co.in';
|
|
|
|
$config['success_url'] = 'https://contribute.tnschools.gov.in/csr/#/payment-status/success';
|
|
$config['failure_url'] = 'https://contribute.tnschools.gov.in/csr/#/payment-status/failure';
|
|
$config['awaited_url'] = 'https://contribute.tnschools.gov.in/csr/#/payment-status/awaited';
|
|
/********* IOB PAYMENT GATEWAY RELATED CONFIGS ********/
|
|
}
|
|
?>
|