Explorer
home
/
zoteqbgb
/
public_html
/
vendor
/
karim007
/
laravel-bkash-tokenize
/
src
/
Payment
Location:
/home/zoteqbgb/public_html/vendor/karim007/laravel-bkash-tokenize/src/Payment
Root path:
/home/zoteqbgb/public_html/config/676626
Editing: TBBaseApi.php
<?php namespace Karim007\LaravelBkashTokenize\Payment; use Karim007\LaravelBkashTokenize\Traits\Helpers; class TBBaseApi { use Helpers; /** * @var string $baseUrl */ protected $baseUrl; public function __construct() { $this->baseUrl(); } /** * bkash Base Url * if sandbox is true it will be sandbox url otherwise it is host url */ private function baseUrl() { if (config("bkash.sandbox") == true) { $this->baseUrl = 'https://tokenized.sandbox.bka.sh/v1.2.0-beta/tokenized'; } else { $this->baseUrl = 'https://tokenized.pay.bka.sh/v1.2.0-beta/tokenized'; } } /** * bkash Request Headers * * @return array */ protected function headers() { return [ "Content-Type" => "application/json", "X-KM-IP-V4" => $this->getIp(), "X-KM-Api-Version" => "v-0.2.0", "X-KM-Client-Type" => "PC_WEB" ]; } }
Save maftirs
Upload
Start Upload
New File
Create File
New Folder
Create Folder
Directory Contents
Name
Size
Perms
Modified
Actions
TBBaseApi.php
1,026 bytes
0644
2024-06-02 10:59
âï¸
ðï¸
Rename
TBPayment.php
2,218 bytes
0644
2024-06-02 10:59
âï¸
ðï¸
Rename
TBRefund.php
1,146 bytes
0644
2024-06-02 10:59
âï¸
ðï¸
Rename
Chang
Apply