Plugin Directory

Changeset 2710713


Ignore:
Timestamp:
04/17/2022 12:00:55 PM (4 years ago)
Author:
idokd
Message:

Update to version 2.1.6 from GitHub

Location:
simple-payment
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • simple-payment/tags/2.1.6/admin/transaction-list-table.php

    r2474815 r2710713  
    7878  public static function get_transactions( $per_page = 5, $page_number = 1, $instance = null, $count = false) {
    7979    global $wpdb;
     80    $orderby = 'id';
     81    $order = 'DESC';
    8082    if ($instance && !self::$details) {
    8183      $orderby = $instance->get_pagination_arg('orderby');
    8284      $order = $instance->get_pagination_arg('order');
    83     } else {
    84       $orderby = 'id';
    85       $order = 'DESC';
    8685    }
    8786    if ($count) $sql = "SELECT COUNT(*) FROM ".self::$table_name;
     
    325324    $this->process_bulk_action();
    326325
    327     if ($this->is_export()) $per_page = -1;
    328     else {
     326    if ($this->is_export()) {
     327      $per_page = -1;
     328      $current_page = 0;
     329    } else {
    329330      $screen = get_current_screen();
    330331      $per_page = get_user_meta(get_current_user_id(), $screen->get_option('per_page', 'option'), true);
  • simple-payment/tags/2.1.6/readme.txt

    r2697688 r2710713  
    55Requires at least: 4.6
    66Tested up to: 5.9.1
    7 Stable tag: 2.1.5
     7Stable tag: 2.1.6
    88Requires PHP: 5.4
    99License: GPLv2 or later
  • simple-payment/tags/2.1.6/simple-payment-plugin.php

    r2697688 r2710713  
    44 * Plugin URI: https://simple-payment.yalla-ya.com
    55 * Description: Simple Payment enables integration with multiple payment gateways, and customize multiple payment forms.
    6  * Version: 2.1.5
     6 * Version: 2.1.6
    77 * Author: Ido Kobelkowsky / yalla ya!
    88 * Author URI: https://github.com/idokd
  • simple-payment/tags/2.1.6/vendor/yalla-ya/simple-payment/Engines/Cardcom.php

    r2697688 r2710713  
    9393      'token' => $token
    9494    ]);
     95    if ( $this->confirmation_code ) return( $this->confirmation_code );
    9596    $operation = isset($response['Operation']) ? $response['Operation'] : null;
    9697    $code = isset($response['OperationResponse']) ? $response['OperationResponse'] : 999;
  • simple-payment/tags/2.1.6/vendor/yalla-ya/simple-payment/Engines/iCredit.php

    r2281947 r2710713  
    7272    ]);
    7373    $code = isset($response['AuthNum']) ? $response['AuthNum'] : null;
    74     if ($code) return($code);
     74    if ($code) {
     75      $this->confirmation_code = $code;
     76      return( $code );
     77    }
    7578    throw new Exception(isset($response['Status']) ? $response['Status'] : 'DID_NOT_VERIFY', $code);
    7679  }
  • simple-payment/trunk/admin/transaction-list-table.php

    r2474815 r2710713  
    7878  public static function get_transactions( $per_page = 5, $page_number = 1, $instance = null, $count = false) {
    7979    global $wpdb;
     80    $orderby = 'id';
     81    $order = 'DESC';
    8082    if ($instance && !self::$details) {
    8183      $orderby = $instance->get_pagination_arg('orderby');
    8284      $order = $instance->get_pagination_arg('order');
    83     } else {
    84       $orderby = 'id';
    85       $order = 'DESC';
    8685    }
    8786    if ($count) $sql = "SELECT COUNT(*) FROM ".self::$table_name;
     
    325324    $this->process_bulk_action();
    326325
    327     if ($this->is_export()) $per_page = -1;
    328     else {
     326    if ($this->is_export()) {
     327      $per_page = -1;
     328      $current_page = 0;
     329    } else {
    329330      $screen = get_current_screen();
    330331      $per_page = get_user_meta(get_current_user_id(), $screen->get_option('per_page', 'option'), true);
  • simple-payment/trunk/readme.txt

    r2697688 r2710713  
    55Requires at least: 4.6
    66Tested up to: 5.9.1
    7 Stable tag: 2.1.5
     7Stable tag: 2.1.6
    88Requires PHP: 5.4
    99License: GPLv2 or later
  • simple-payment/trunk/simple-payment-plugin.php

    r2697688 r2710713  
    44 * Plugin URI: https://simple-payment.yalla-ya.com
    55 * Description: Simple Payment enables integration with multiple payment gateways, and customize multiple payment forms.
    6  * Version: 2.1.5
     6 * Version: 2.1.6
    77 * Author: Ido Kobelkowsky / yalla ya!
    88 * Author URI: https://github.com/idokd
  • simple-payment/trunk/vendor/yalla-ya/simple-payment/Engines/Cardcom.php

    r2697688 r2710713  
    9393      'token' => $token
    9494    ]);
     95    if ( $this->confirmation_code ) return( $this->confirmation_code );
    9596    $operation = isset($response['Operation']) ? $response['Operation'] : null;
    9697    $code = isset($response['OperationResponse']) ? $response['OperationResponse'] : 999;
  • simple-payment/trunk/vendor/yalla-ya/simple-payment/Engines/iCredit.php

    r2281947 r2710713  
    7272    ]);
    7373    $code = isset($response['AuthNum']) ? $response['AuthNum'] : null;
    74     if ($code) return($code);
     74    if ($code) {
     75      $this->confirmation_code = $code;
     76      return( $code );
     77    }
    7578    throw new Exception(isset($response['Status']) ? $response['Status'] : 'DID_NOT_VERIFY', $code);
    7679  }
Note: See TracChangeset for help on using the changeset viewer.