Commit 7b11b308 by Tobin

dc

parent 37f8f47f
......@@ -388,13 +388,13 @@ class Api extends CI_Controller {
$BayanPayArray =
array(
'BayanPay_Online_setting' => array(
'merchantKey' => $settings->merchant_key,
'merchantId' => $settings->merchant_id,
'merchantKey' => $settings['merchant_key'],
'merchantId' => $settings['merchant_id'],
'collaboratorId' => 'BAYANPAY',
'iv' => '0123456789abcdef',
'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,
'billingDataBlock' => true,
'shippingDataBlock' => true,
......@@ -445,20 +445,20 @@ class Api extends CI_Controller {
'Field_Existence_Indicator_Payment' => array(
'cardNumber' => '4111111111111111', // 1. Card Number
'expMonth' => '08', // 2. Expiry Month
'expYear' => '2020', // 3. Expiry Year
'CVV' => '123', // 4. CVV
'expYear' => '2020', // 3. Expiry Year
'CVV' => '123', // 4. CVV
'cardHolderName' => 'Soloman', // 5. Card Holder Name
'cardType' => 'Visa', // 6. Card Type
'custMobileNumber' => '9820998209', // 7. Customer Mobile Number
'paymentID' => '123456', // 8. Payment ID
'OTP' => '123456', // 9. OTP field
'OTP' => '123456', // 9. OTP field
'gatewayID' => '1026', // 10.Gateway ID
'cardToken' => '1202' // 11.Card Token
),
'Field_Existence_Indicator_Merchant' => array(
'UDF1' => $lastid,
'UDF2' => $event_id,
'UDF3' => $booking_id
'UDF1' => $lastid,
'UDF2' => $event_id,
'UDF3' => $booking_id
),
'Field_Existence_Indicator_OtherData' => array(
'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