PHP code example of frenchykiller / laravel-systempay
1. Go to this page and download the library: Download frenchykiller/laravel-systempay library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
frenchykiller / laravel-systempay example snippets
<x-systempay :request="['amount' => 25]" />
return [
'default' => [
'site_id' => env('SYSTEMPAY_SITE_ID', '73239078'),
'password' => env('SYSTEMPAY_PASSWORD', 'testpassword_SbEbeOueaMDyg8Rtei1bSaiB5lms9V0ZDjzldGXGAnIwH'),
'key' => env('SYSTEMPAY_KEY', 'testpublickey_Zr3fXIKKx0mLY9YNBQEan42ano2QsdrLuyb2W54QWmUJQ'),
'env' => env('SYSTEMPAY_ENV', 'TEST'),
'url' => 'https://api.systempay.fr/api-payment/V4/',
'params' => [
'currency' => 'EUR',
'formAction' => 'PAYMENT',
'strongAuthentication' => 'NO_PREFERENCE', //Setting this to DISABLED will let the card issuer decide whether 3DS2 is