PAYME plugin allows you to easily integrate your site with Payme.uz Payment system.
You can find documentation in here: https://help.paycom.uz/ru
Developed by: https://itmaker.uz
Contact: +998903519004
Extending the plugin
You can use the plugin events to expand its functionality:
<?php
use Shohabbos\BookShop\Models\Order;
Event::listen('shohabbos.payme.existsAccount', function ($accounts, &$result, &$message) {
    // find order or account
    $result = Order::find($accounts['order_id']);
});
Event::listen('shohabbos.payme.performTransaction', function ($transaction, &$result, &$message) {
    // check order as paid or fill user balance
    $order = Order::find($transaction->owner_id);
    $order->is_paid = 1;
    $result = $order->save();
});
Event::listen('shohabbos.payme.cancelTransaction', function ($transaction, &$result, &$message) {
    // check order as cancelled or take away from user balance
    $order = Order::find($transaction->owner_id);
    $order->is_paid = 0;
    $result = $order->save();
});
            - 
        
This plugin has not been reviewed yet.
 - 
                        
 
| 1.0.6 | 
             Convert amount to UZS (amount /= 100) Oct 04, 2018  | 
    
|---|---|
| 1.0.5 | 
             Bug fix in checkAmount event Oct 04, 2018  | 
    
| 1.0.4 | 
             Bug fix pluginDetails method of plugin Sep 26, 2018  | 
    
| 1.0.3 | 
             Updated table shohabbos_payme_transactions Sep 26, 2018  | 
    
| 1.0.2 | 
             Created table shohabbos_payme_transactions Sep 26, 2018  | 
    
| 1.0.1 | 
             Initialize plugin. Sep 26, 2018  | 
    
    
    

