diff --git a/app/data/stripe_payment_methods.php b/app/data/stripe_payment_methods.php index 6da1d2b..eb4fcaa 100644 --- a/app/data/stripe_payment_methods.php +++ b/app/data/stripe_payment_methods.php @@ -101,7 +101,7 @@ [ 'key' => 'afterpay_clearpay', 'name' => 'Afterpay and Clearpay', - 'currencies' => ['AUD', 'CAD', 'NZD', 'GBP', 'USD', 'EUR'], + 'currencies' => ['AUD', 'CAD', 'NZD', 'GBP', 'USD'], 'capabilities' => ['payment_intents'], ], [ diff --git a/app/gateways/stripe/form.js b/app/gateways/stripe/form.js index 9d034f3..21cece0 100644 --- a/app/gateways/stripe/form.js +++ b/app/gateways/stripe/form.js @@ -31,6 +31,7 @@ this.$textFields.add(this.$form.find('input[name="mepr_coupon_code"]')).on('blur', $.proxy(this.maybeUpdateElements, this)); this.$selectFields.on('change', $.proxy(this.maybeUpdateElements, this)); this.$orderBumps.on('change', $.proxy(this.maybeUpdateElements, this)); + this.$form.find('input[name="mpgft-signup-gift-checkbox"]').on('change', $.proxy(this.maybeUpdateElements, this)); } /** diff --git a/app/models/MeprProduct.php b/app/models/MeprProduct.php index 1f44730..83e59c1 100644 --- a/app/models/MeprProduct.php +++ b/app/models/MeprProduct.php @@ -535,7 +535,7 @@ public static function get_pricing_page_product_ids() } public function is_one_time_payment() { - return ($this->period_type == 'lifetime' || $this->price == 0.00); + return MeprHooks::apply_filters('mepr_product_is_one_time_payment', $this->period_type == 'lifetime' || $this->price == 0.00); } //Just for checking if the membership type is a renewable type diff --git a/i18n/memberpress.pot b/i18n/memberpress.pot index aa0f534..8206f2f 100644 --- a/i18n/memberpress.pot +++ b/i18n/memberpress.pot @@ -2,14 +2,14 @@ # This file is distributed under the same license as the MemberPress plugin. msgid "" msgstr "" -"Project-Id-Version: MemberPress 1.11.11\n" +"Project-Id-Version: MemberPress 1.11.12\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/memberpress\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2023-07-18T11:30:16-06:00\n" +"POT-Creation-Date: 2023-07-19T15:09:16-06:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.8.1\n" "X-Domain: memberpress\n" diff --git a/memberpress.php b/memberpress.php index abb9d1a..602231c 100644 --- a/memberpress.php +++ b/memberpress.php @@ -3,7 +3,7 @@ Plugin Name: MemberPress Pro 30 (Legacy) Plugin URI: http://www.memberpress.com/ Description: The membership plugin that makes it easy to accept payments for access to your content and digital products. -Version: 1.11.11 +Version: 1.11.12 Author: Caseproof, LLC Author URI: http://caseproof.com/ Text Domain: memberpress