Commit 7b11b308 by Tobin

dc

parent 37f8f47f
...@@ -388,13 +388,13 @@ class Api extends CI_Controller { ...@@ -388,13 +388,13 @@ class Api extends CI_Controller {
$BayanPayArray = $BayanPayArray =
array( array(
'BayanPay_Online_setting' => array( 'BayanPay_Online_setting' => array(
'merchantKey' => $settings->merchant_key, 'merchantKey' => $settings['merchant_key'],
'merchantId' => $settings->merchant_id, 'merchantId' => $settings['merchant_id'],
'collaboratorId' => 'BAYANPAY', 'collaboratorId' => 'BAYANPAY',
'iv' => '0123456789abcdef', 'iv' => '0123456789abcdef',
'url' => false// Set to false if you are using testing environment , set to true if you are using live environment 'url' => false// Set to false if you are using testing environment , set to true if you are using live environment
), ),
'Block_Existence_Indicator' => array( 'Block_Existence_Indicator'=> array(
'transactionDataBlock' => true, 'transactionDataBlock' => true,
'billingDataBlock' => true, 'billingDataBlock' => true,
'shippingDataBlock' => true, 'shippingDataBlock' => true,
...@@ -445,20 +445,20 @@ class Api extends CI_Controller { ...@@ -445,20 +445,20 @@ class Api extends CI_Controller {
'Field_Existence_Indicator_Payment' => array( 'Field_Existence_Indicator_Payment' => array(
'cardNumber' => '4111111111111111', // 1. Card Number 'cardNumber' => '4111111111111111', // 1. Card Number
'expMonth' => '08', // 2. Expiry Month 'expMonth' => '08', // 2. Expiry Month
'expYear' => '2020', // 3. Expiry Year 'expYear' => '2020', // 3. Expiry Year
'CVV' => '123', // 4. CVV 'CVV' => '123', // 4. CVV
'cardHolderName' => 'Soloman', // 5. Card Holder Name 'cardHolderName' => 'Soloman', // 5. Card Holder Name
'cardType' => 'Visa', // 6. Card Type 'cardType' => 'Visa', // 6. Card Type
'custMobileNumber' => '9820998209', // 7. Customer Mobile Number 'custMobileNumber' => '9820998209', // 7. Customer Mobile Number
'paymentID' => '123456', // 8. Payment ID 'paymentID' => '123456', // 8. Payment ID
'OTP' => '123456', // 9. OTP field 'OTP' => '123456', // 9. OTP field
'gatewayID' => '1026', // 10.Gateway ID 'gatewayID' => '1026', // 10.Gateway ID
'cardToken' => '1202' // 11.Card Token 'cardToken' => '1202' // 11.Card Token
), ),
'Field_Existence_Indicator_Merchant' => array( 'Field_Existence_Indicator_Merchant' => array(
'UDF1' => $lastid, 'UDF1' => $lastid,
'UDF2' => $event_id, 'UDF2' => $event_id,
'UDF3' => $booking_id 'UDF3' => $booking_id
), ),
'Field_Existence_Indicator_OtherData' => array( 'Field_Existence_Indicator_OtherData' => array(
'custID' => '12345', 'custID' => '12345',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment