Plugin Directory

Changeset 2937179


Ignore:
Timestamp:
07/11/2023 02:15:56 PM (3 years ago)
Author:
ronantrelis
Message:

fix MemberPress bug

Location:
trelis-crypto-payments/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trelis-crypto-payments/trunk/ReadMe.txt

    r2930962 r2937179  
    55Requires at least: 6.1
    66Tested up to: 6.2.2
    7 Stable tag: 2.0.1
     7Stable tag: 2.0.2
    88Requires PHP: 7.4
    99License: GPL-3.0
     
    7070== Changelog ==
    7171
     72= 2.0.2 =
     73* Fix bug with MemberPress expiring memberships
     74
    7275= 2.0.1 =
    7376* Tested up to WordPress 6.2.2
  • trelis-crypto-payments/trunk/admin/MeprTrelisGateway.php

    r2897687 r2937179  
    405405        // Initialize the charge on Trelis's servers - this will charge the user's card
    406406
     407        // Initialize the charge on Trelis's servers - this will charge the user's card
    407408        $args = MeprHooks::apply_filters('mepr_trelis_payment_args', array(
    408 
    409409            "productName" => $productName,
    410 
    411410            "productPrice"  => $productPrice,
    412 
    413411            "token" => $this->trelis_api->get_mepr_token(),
    414 
    415412            "redirectLink" => $this->notify_url('return') . '?txn=' . $txn->trans_num,
    416 
    417413            "fiatCurrency" => $this->trelis_api->get_mepr_currency(),
    418 
    419             "isPrime" => $this->settings->is_prime,
    420 
    421             "isGasless" => $this->settings->is_gasless
    422 
     414            "isPrime" => ($this->settings->is_prime == 'on'), // Convert to boolean
     415            "isGasless" => ($this->settings->is_gasless == 'on') // Convert to boolean
    423416        ), $txn);
    424417
  • trelis-crypto-payments/trunk/trelis-crypto-payments.php

    r2897690 r2937179  
    1717 * Plugin URI:        https://docs.trelis.com/products/woocommerce-plugin
    1818 * Description:       Accept USDC payments, including recurring payments to your wallet.
    19  * Version:           2.0.1
     19 * Version:           2.0.2
    2020 * Requires at least: 6.1
    2121 * Requires PHP:      7.4
     
    3838 * Rename this for your plugin and update it as you release new versions.
    3939 */
    40 define('TRELIS_CRYPTO_PAYMENTS_VERSION', '1.0.0');
     40define('TRELIS_CRYPTO_PAYMENTS_VERSION', '2.0.2');
    4141
    4242
Note: See TracChangeset for help on using the changeset viewer.