PHP code example of helmerdavila / laravel-alignet-payme

1. Go to this page and download the library: Download helmerdavila/laravel-alignet-payme 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/ */

    

helmerdavila / laravel-alignet-payme example snippets


    'providers' => [
        // ... Otros providers aquí
        LaravelPaymeAlignet\Providers\LaravelPaymeServiceProvider::class,   
    ]

    'aliases' => [
        // ... Otros aliases aquí
        'LaravelPayme' => LaravelPaymeAlignet\Facades\LaravelPayme::class,   
    ]

use LaravelPayme;

LaravelPayme::registerUser($userId, $emailUser, $nameUser, $lastnameUser, array $moreData = []);

use LaravelPayme;

LaravelPayme::generatePaymentOrderByTokenUser($tokenUser, $purchaseUniqueId, $purchaseTotal);