Laravel | Version |
---|---|
7.x | dev-master |
Install via composer
composer require wenhaokho/omise
Bring the config file to the project.
php artisan vendor:publish --tag=config
Set the value at the .env file.
OMISE_PUBLIC_KEY=
OMISE_SECRET_KEY=
Create Paynow Read More
$response = OmiseSource::create([
'amount' => 100,
'currency' => 'SGD',
'type' => 'paynow',
'phone_number' => '0123456789',
]);
dd($response);