Download the PHP package makaraman/laravel-parampos without Composer
On this page you can find all versions of the php package makaraman/laravel-parampos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download makaraman/laravel-parampos
More information about makaraman/laravel-parampos
Files in makaraman/laravel-parampos
Download makaraman/laravel-parampos
More information about makaraman/laravel-parampos
Files in makaraman/laravel-parampos
Vendor makaraman
Package laravel-parampos
Short Description Parampos Payment Integration Laravel Package
License MIT
Package laravel-parampos
Short Description Parampos Payment Integration Laravel Package
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-parampos
Laravel Parampos
Laravel Parampos Integration
Install Via Composer
Publish Config
Usage
// use Makaraman\Parampos\Parampos;
$parampos = new Parampos();
$parampos
->setTestMode(true) // DEFAULT FALSE | IT CHANGES BASE API URL
// ->setApiUrl('string') // (OPTIONAL) | DEFUALT API URL COMES FROM config/parampos.php
->setCreditCard([
'card_owner' => 'Test', // REQUIRED
'card_number' => '4022774022774026', // REQUIRED | 16 DIGITS
'card_month' => '12', // REQUIRED | 2 DIGITS
'card_year' => '26', // REQUIRED | 2 DIGITS
'card_cvc' => '000', // REQUIRED | 3 DIGITS
])
->setIpAddress($_SERVER["HTTP_CF_CONNECTING_IP"] ?? $_SERVER['REMOTE_ADDR']) // (REQUIRED)
->setOrderId(time()) // (REQUIRED) | Specific Order ID
->setOrderDescription('Order Description') // (OPTIONAL) | Order Description
->setInstallmentRate('3') // (REQUIRED) | DEFAULT 1
->setInstallmentAmount(325) // (REQUIRED) | DEFAULT 0
->setTotalAmount(1436.88) // (REQUIRED) | Greater than 0
->setSecureType('3D') // (REQUIRED) | 3D (for 3DSECURE) or NS (for NONSECURE)
->setSuccessUrl('success-url') // REQUIRED | Return URL
->setFailureUrl('failure-url') // REQUIRED | Return URL
->send(); // send() -> to make request | debugger() in order to see what are sent in request
All versions of laravel-parampos with dependencies
PHP Build Version
Package Version
Requires
illuminate/support Version
>=5.4
The package makaraman/laravel-parampos contains the following files
Loading the files please wait ....