PHP code example of subdee / yii2-icepay

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

    

subdee / yii2-icepay example snippets


'components' => [
    ...
    'icepay' => [
        'class' => 'subdee\icepay\Icepay',
        'merchantID' => 'merchant id',
        'secretCode' => 'secretCode',
    ],
    ...
],

$methods = \Yii::$app->icepay->getPaymentMethods();

php composer.phar