Plugin Directory

Changeset 2979835


Ignore:
Timestamp:
10/17/2023 03:37:32 AM (2 years ago)
Author:
tripleatechnology
Message:

releasing new version 2.0.12

Location:
triplea-cryptocurrency-payment-gateway-for-woocommerce
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/tags/2.0.12/includes/WooCommerce/Thank_You.php

    r2974604 r2979835  
    3333    public static function triplea_change_order_received_text( $str, $order ) {
    3434
    35         if (isset($order) && $order->has_status( 'failed' )) {
     35        if (isset($order) && $order && $order->has_status( 'failed' )) {
    3636
    3737            $new_str = $str . '<br>'
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/tags/2.0.12/includes/WooCommerce/TripleA_Payment_Gateway.php

    r2945763 r2979835  
    623623        $date_now       = (new DateTime())->getTimestamp();
    624624        $buffer_time     = 600; // 10 min buffer time, so new token will generated after 50 min
    625         $current_token_expiry   = $this->get_option('oauth_token_expiry');
     625        $current_token_expiry   = intval($this->get_option('oauth_token_expiry'));
    626626        $current_token   = $this->get_option('oauth_token');
    627627
     
    649649        $date_now       = (new DateTime())->getTimestamp();
    650650        $buffer_time     = 600; // 10 min buffer time, so new token will generated after 50 min
    651         $current_token_expiry   = $this->get_option('oauth_token_expiry');
     651        $current_token_expiry   = intval($this->get_option('oauth_token_expiry'));
    652652        $current_token   = $this->get_option('oauth_token');
    653653
     
    704704        $date_now       = (new DateTime())->getTimestamp();
    705705        $buffer_time     = 600; // 10 min buffer time, so new token will generated after 50 min
    706         $current_token_expiry   = $this->get_option('oauth_token_expiry');
     706        $current_token_expiry   = intval($this->get_option('oauth_token_expiry'));
    707707        $current_token   = $this->get_option('oauth_token');
    708708
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/tags/2.0.12/readme.txt

    r2974604 r2979835  
    77Requires at least: 5.5
    88Tested up to: 6.2.2
    9 Stable tag: 2.0.11
     9Stable tag: 2.0.12
    1010Requires PHP: 7.0
    1111License: GPLv2 or later
     
    109109== Changelog ==
    110110
     111= 2.0.12 =
     112Fixed: Validation for getting token and thank you message
     113
    111114= 2.0.11 =
    112115Fixed: Review message will be displayed only for admin
     
    287290== Upgrade Notice ==
    288291
     292= 2.0.12 =
     293Simply install the update. No further action is needed.
     294
    289295= 2.0.11 =
    290296Simply install the update. No further action is needed.
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/tags/2.0.12/triplea-cryptocurrency-payment-gateway-for-woocommerce.php

    r2974604 r2979835  
    1717 * Plugin URI:        https://wordpress.org/plugins/triplea-cryptocurrency-payment-gateway-for-woocommerce/
    1818 * Description:       Offer cryptocurrency as a payment option on your website and get access to even more clients. Receive payments in cryptocurrency or in your local currency, directly in your bank account. Enjoy an easy setup, no cryptocurrency expertise required. Powered by TripleA.
    19  * Version:           2.0.11
     19 * Version:           2.0.12
    2020 * Author:            TripleA Team
    2121 * Author URI:        https://triple-a.io
     
    4545     * $var string
    4646     */
    47     const version = '2.0.11';
     47    const version = '2.0.12';
    4848
    4949    /*
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/trunk/includes/WooCommerce/Thank_You.php

    r2974604 r2979835  
    3333    public static function triplea_change_order_received_text( $str, $order ) {
    3434
    35         if (isset($order) && $order->has_status( 'failed' )) {
     35        if (isset($order) && $order && $order->has_status( 'failed' )) {
    3636
    3737            $new_str = $str . '<br>'
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/trunk/includes/WooCommerce/TripleA_Payment_Gateway.php

    r2945763 r2979835  
    623623        $date_now       = (new DateTime())->getTimestamp();
    624624        $buffer_time     = 600; // 10 min buffer time, so new token will generated after 50 min
    625         $current_token_expiry   = $this->get_option('oauth_token_expiry');
     625        $current_token_expiry   = intval($this->get_option('oauth_token_expiry'));
    626626        $current_token   = $this->get_option('oauth_token');
    627627
     
    649649        $date_now       = (new DateTime())->getTimestamp();
    650650        $buffer_time     = 600; // 10 min buffer time, so new token will generated after 50 min
    651         $current_token_expiry   = $this->get_option('oauth_token_expiry');
     651        $current_token_expiry   = intval($this->get_option('oauth_token_expiry'));
    652652        $current_token   = $this->get_option('oauth_token');
    653653
     
    704704        $date_now       = (new DateTime())->getTimestamp();
    705705        $buffer_time     = 600; // 10 min buffer time, so new token will generated after 50 min
    706         $current_token_expiry   = $this->get_option('oauth_token_expiry');
     706        $current_token_expiry   = intval($this->get_option('oauth_token_expiry'));
    707707        $current_token   = $this->get_option('oauth_token');
    708708
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/trunk/readme.txt

    r2974604 r2979835  
    77Requires at least: 5.5
    88Tested up to: 6.2.2
    9 Stable tag: 2.0.11
     9Stable tag: 2.0.12
    1010Requires PHP: 7.0
    1111License: GPLv2 or later
     
    109109== Changelog ==
    110110
     111= 2.0.12 =
     112Fixed: Validation for getting token and thank you message
     113
    111114= 2.0.11 =
    112115Fixed: Review message will be displayed only for admin
     
    287290== Upgrade Notice ==
    288291
     292= 2.0.12 =
     293Simply install the update. No further action is needed.
     294
    289295= 2.0.11 =
    290296Simply install the update. No further action is needed.
  • triplea-cryptocurrency-payment-gateway-for-woocommerce/trunk/triplea-cryptocurrency-payment-gateway-for-woocommerce.php

    r2974604 r2979835  
    1717 * Plugin URI:        https://wordpress.org/plugins/triplea-cryptocurrency-payment-gateway-for-woocommerce/
    1818 * Description:       Offer cryptocurrency as a payment option on your website and get access to even more clients. Receive payments in cryptocurrency or in your local currency, directly in your bank account. Enjoy an easy setup, no cryptocurrency expertise required. Powered by TripleA.
    19  * Version:           2.0.11
     19 * Version:           2.0.12
    2020 * Author:            TripleA Team
    2121 * Author URI:        https://triple-a.io
     
    4545     * $var string
    4646     */
    47     const version = '2.0.11';
     47    const version = '2.0.12';
    4848
    4949    /*
Note: See TracChangeset for help on using the changeset viewer.