├── .DS_Store ├── src ├── .DS_Store ├── assets │ └── .DS_Store ├── Exceptions │ ├── SplitPaymentException.php │ └── IntegrationTypeException.php ├── Models │ └── InterswitchPayment.php ├── Facades │ └── Interswitch.php ├── views │ ├── interswitch │ │ └── email.blade.php │ ├── pay.blade.php │ └── logs.blade.php ├── routes │ └── web.php ├── Mail │ └── InterswitchMailable.php ├── InterswitchServiceProvider.php ├── database │ └── migrations │ │ └── 2020_11_26_092007_interwitch_payments.php ├── Http │ └── Controllers │ │ └── InterswitchController.php ├── config │ └── interswitch.php └── Interswitch.php ├── vendor ├── autoload.php └── composer │ ├── autoload_classmap.php │ ├── autoload_namespaces.php │ ├── autoload_psr4.php │ ├── autoload_static.php │ ├── LICENSE │ ├── autoload_real.php │ └── ClassLoader.php ├── composer.json ├── LICENSE.md └── README.md /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toyosi12/laravel-interswitch/HEAD/.DS_Store -------------------------------------------------------------------------------- /src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toyosi12/laravel-interswitch/HEAD/src/.DS_Store -------------------------------------------------------------------------------- /src/assets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toyosi12/laravel-interswitch/HEAD/src/assets/.DS_Store -------------------------------------------------------------------------------- /src/Exceptions/SplitPaymentException.php: -------------------------------------------------------------------------------- 1 | array($baseDir . '/src'), 10 | ); 11 | -------------------------------------------------------------------------------- /src/views/interswitch/email.blade.php: -------------------------------------------------------------------------------- 1 | @component('mail::message') 2 | # {{$message['responseDescription']}} 3 |
Dear {{$message['customerName']}},
5 | Your payment of ₦ {{number_format(($message['amount']) / 100, 2)}} was successful.
6 | Payment Reference - {{$message['paymentReference']}}
7 |
| S/N | 33 |Customer ID | 34 |Customer Name | 35 |Customer Email | 36 |Transaction Reference | 37 |Payment Reference | 38 |Amount | 39 |Response Code | 40 |Response Text | 41 |Environment | 42 |Date | 43 |Action | 44 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | 50 |{{ $log['customer_id'] }} | 51 |{{ $log['customer_name'] }} | 52 |{{ $log['customer_email'] }} | 53 |{{ $log['transaction_reference'] }} | 54 |{{ $log['payment_reference'] }} | 55 |₦ {{ number_format(($log['amount_in_kobo'] / 100), 2) }} | 56 |{{ $log['response_code'] }} | 57 |{{ $log['response_text'] }} | 58 |{{ $log['environment'] }} | 59 |{{ $log['created_at'] }} | 60 |61 | |