PHP code example of kadirov / payme

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

    

kadirov / payme example snippets


Kadirov\Payme\PaymeBundle::class => ['all' => true],

$paymeTransaction = $paymeTransactionBuilder
            ->createTransaction($price)
            ->getResult();

$paymeTransaction = $paymeTransactionBuilder
    ->createTransaction($finalPrice)
    ->addItem('10315002001000000', 3, '195815', $consultingPrice, 'Consulting services', 15)
    ->addItem('10305005001000000', 1, '195763', $softwarePrice, 'Software Development', 15)
    ->getResult();