PHP Classes
elePHPant
Icontem

File: config/laravel-2c2p.php

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin  >  Laravel 2C2P  >  config/laravel-2c2p.php  >  Download  
File: config/laravel-2c2p.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel 2C2P
Send and process payment requests with 2C2P
Author: By
Last change: Apply fixes from StyleCI
Add QuickPay

Date: 1 month ago
Size: 1,359 bytes
 

Contents

Class file image Download
<?php

return [
   
'merchant_id' => 'JT01',
   
'secret_key' => '7jYcp4FxFdf0',

   
'private_key_pass' => '2c2p',
   
'private_key_path' => storage_path('cert/private.pem'),
   
'public_key_path' => storage_path('cert/public.crt'),

   
'redirect_access_url' => 'https://demo2.2c2p.com/2C2PFrontEnd/RedirectV3/payment',

   
'access_url' => 'https://demo2.2c2p.com/2C2PFrontEnd/SecurePayment/PaymentAuth.aspx',
   
'secure_pay_script' => 'https://demo2.2c2p.com/2C2PFrontEnd/SecurePayment/api/my2c2p.1.6.9.min.js',

   
'currency_code' => 702, // Ref: http://en.wikipedia.org/wiki/ISO_4217
   
'country_code' => 'MMR',

   
'123_merchant_id' => 'merchant@smarthotel.com',
   
'123_api_secret_key' => 'M5WCTP59J544IRRUBTJE0Q7Z2PAJX3CT',
   
'123_public_key_path' => storage_path('cert/123.pem'), // 123' Certificate file
   
'123_currency_code' => 'MMK',
   
'123_country_code' => 'MMR',
   
'123_agent_code' => 'ABC',
   
'123_channel_code' => 'OVERTHECOUNTER',
   
'123_merchant_url' => 'merchant url',
   
'123_api_call_url' => 'api call url',
   
'123_access_url' => 'https://demo3.2c2p.com/123MM/Payment/Pay/Slip',

   
//QuickPay
   
'direct_api' => 'http://demo2.2c2p.com/2C2PFrontEnd/QuickPay/DirectAPI',
   
'delivery_api' => 'http://demo2.2c2p.com/2C2PFrontEnd/QuickPay/DeliveryAPI',
];