Skip to content

Commit

Permalink
1.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
n7studios committed Aug 15, 2024
1 parent fa927a7 commit b48a15f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 21 deletions.
14 changes: 7 additions & 7 deletions ACTIONS-FILTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ add_filter( 'convertkit_for_woocommerce_order_maybe_subscribe_customer_subscript
</pre>
<h3 id="convertkit_for_woocommerce_order_send_purchase_data">
convertkit_for_woocommerce_order_send_purchase_data
<code>includes/class-ckwc-order.php::490</code>
<code>includes/class-ckwc-order.php::499</code>
</h3><h4>Overview</h4>
<p>Define the data to send to the ConvertKit API to create a Purchase in ConvertKit https://developers.convertkit.com/#create-a-purchase</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -233,7 +233,7 @@ add_filter( 'convertkit_for_woocommerce_order_send_purchase_data', function( $pu
</pre>
<h3 id="convertkit_for_woocommerce_order_should_opt_in_customer">
convertkit_for_woocommerce_order_should_opt_in_customer
<code>includes/class-ckwc-order.php::720</code>
<code>includes/class-ckwc-order.php::729</code>
</h3><h4>Overview</h4>
<p>Determine if the Customer should be opted in to ConvertKit. If the Order already opted in the Customer, this filter will not be fired. If the Order does not permit the Customer be opted in (i.e. they declined at checkout), this filter will not be fired.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -264,7 +264,7 @@ add_filter( 'convertkit_for_woocommerce_order_should_opt_in_customer', function(
</pre>
<h3 id="convertkit_for_woocommerce_email">
convertkit_for_woocommerce_email
<code>includes/class-ckwc-order.php::752</code>
<code>includes/class-ckwc-order.php::761</code>
</h3><h4>Overview</h4>
<p>Returns the customer's email address for the given WooCommerce Order, immediately before it is sent to ConvertKit when subscribing the Customer to a Form, Tag or Sequence.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -295,7 +295,7 @@ add_filter( 'convertkit_for_woocommerce_email', function( $email, $order ) {
</pre>
<h3 id="convertkit_for_woocommerce_order_name">
convertkit_for_woocommerce_order_name
<code>includes/class-ckwc-order.php::807</code>
<code>includes/class-ckwc-order.php::816</code>
</h3><h4>Overview</h4>
<p>Returns the customer's name for the given WooCommerce Order, immediately before it is sent to ConvertKit when subscribing the Customer to a Form, Tag or Sequence, or sending Purchase Data.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -326,7 +326,7 @@ add_filter( 'convertkit_for_woocommerce_order_name', function( $name, $order ) {
</pre>
<h3 id="convertkit_for_woocommerce_first_name">
convertkit_for_woocommerce_first_name
<code>includes/class-ckwc-order.php::839</code>
<code>includes/class-ckwc-order.php::848</code>
</h3><h4>Overview</h4>
<p>Returns the customer's first name for the given WooCommerce Order, immediately before it is sent to ConvertKit when subscribing the Customer to a Form, Tag or Sequence.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -357,7 +357,7 @@ add_filter( 'convertkit_for_woocommerce_first_name', function( $first_name, $ord
</pre>
<h3 id="convertkit_for_woocommerce_last_name">
convertkit_for_woocommerce_last_name
<code>includes/class-ckwc-order.php::871</code>
<code>includes/class-ckwc-order.php::880</code>
</h3><h4>Overview</h4>
<p>Returns the customer's last name for the given WooCommerce Order, immediately before it is sent to ConvertKit when subscribing the Customer to a Form, Tag or Sequence.</p><h4>Parameters</h4>
<table>
Expand Down Expand Up @@ -388,7 +388,7 @@ add_filter( 'convertkit_for_woocommerce_last_name', function( $last_name, $order
</pre>
<h3 id="convertkit_for_woocommerce_custom_field_data">
convertkit_for_woocommerce_custom_field_data
<code>includes/class-ckwc-order.php::925</code>
<code>includes/class-ckwc-order.php::934</code>
</h3><h4>Overview</h4>
<p>Returns an array of ConvertKit Custom Field Key/Value pairs, with values comprising of Order data based, to be sent to ConvertKit when an Order's Customer is subscribed via a Form, Tag or Sequence. Returns false if no Order data should be stored in ConvertKit Custom Fields.</p><h4>Parameters</h4>
<table>
Expand Down
22 changes: 11 additions & 11 deletions languages/woocommerce-convertkit.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the same license as the ConvertKit for WooCommerce plugin.
msgid ""
msgstr ""
"Project-Id-Version: ConvertKit for WooCommerce 1.8.2\n"
"Project-Id-Version: ConvertKit for WooCommerce 1.8.3\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/convertkit-woocommerce\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-07-25T02:46:45+00:00\n"
"POT-Creation-Date: 2024-08-15T03:33:44+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.9.0\n"
"X-Domain: woocommerce-convertkit\n"
Expand Down Expand Up @@ -488,46 +488,46 @@ msgstr[0] ""
msgstr[1] ""

#. translators: Resource Type
#: includes/class-ckwc-order.php:279
#: includes/class-ckwc-order.php:288
msgid "Resource type %s is not supported in CKWC_Order::subscribe_customer()"
msgstr ""

#. translators: %1$s: Form Name, %2$s: Form ID
#: includes/class-ckwc-order.php:312
#: includes/class-ckwc-order.php:321
msgid "[ConvertKit] Customer subscribed to the Form: %1$s [%2$s]"
msgstr ""

#. translators: %1$s: Tag Name, %2$s: Tag ID
#: includes/class-ckwc-order.php:329
#: includes/class-ckwc-order.php:338
msgid "[ConvertKit] Customer subscribed to the Tag: %1$s [%2$s]"
msgstr ""

#. translators: %1$s: Sequence Name, %2$s: Sequence ID
#: includes/class-ckwc-order.php:347
#: includes/class-ckwc-order.php:356
msgid "[ConvertKit] Customer subscribed to the Sequence: %1$s [%2$s]"
msgstr ""

#. translators: WooCommerce Order ID
#: includes/class-ckwc-order.php:407
#: includes/class-ckwc-order.php:416
msgid "Order ID %s could not be found in WooCommerce."
msgstr ""

#. translators: WooCommerce Order ID
#: includes/class-ckwc-order.php:421
#: includes/class-ckwc-order.php:430
msgid "Order ID %s has already been sent to ConvertKit."
msgstr ""

#: includes/class-ckwc-order.php:452
#: includes/class-ckwc-order.php:461
msgid "[ConvertKit] Purchase Data skipped, as this Order has no Products"
msgstr ""

#. translators: %1$s: Error Code, %2$s: Error Message
#: includes/class-ckwc-order.php:523
#: includes/class-ckwc-order.php:532
msgid "[ConvertKit] Send Purchase Data Error: %1$s %2$s"
msgstr ""

#. translators: ConvertKit Purchase ID
#: includes/class-ckwc-order.php:539
#: includes/class-ckwc-order.php:548
msgid "[ConvertKit] Purchase Data sent successfully: ID [%s]"
msgstr ""

Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: email, marketing, embed form, convertkit, capture
Requires at least: 5.0
Tested up to: 6.6.1
Requires PHP: 5.6.20
Stable tag: 1.8.2
Stable tag: 1.8.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -46,6 +46,9 @@ No. You must first have an account on ConvertKit.com, but you do not have to use

== Changelog ==

### 1.8.3 2024-08-15
* Fix: Set subscriber to `inactive` when a ConvertKit Form is specified, honoring the Form's opt in setting.

### 1.8.2 2024-07-25
* Fix: `ckwc_purchase_data_id` would not be populated on Order when "Send purchase data to ConvertKit" enabled
* Fix: Change `update_option` parameter from `yes` to `true`
Expand Down
4 changes: 2 additions & 2 deletions woocommerce-convertkit.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Plugin Name: ConvertKit for WooCommerce
* Plugin URI: https://www.convertkit.com
* Description: Integrates WooCommerce with ConvertKit, allowing customers to be automatically sent to your ConvertKit account.
* Version: 1.8.2
* Version: 1.8.3
* Author: ConvertKit
* Author URI: https://www.convertkit.com
* Text Domain: woocommerce-convertkit
Expand All @@ -28,7 +28,7 @@
define( 'CKWC_PLUGIN_FILE', plugin_basename( __FILE__ ) );
define( 'CKWC_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'CKWC_PLUGIN_PATH', __DIR__ );
define( 'CKWC_PLUGIN_VERSION', '1.8.2' );
define( 'CKWC_PLUGIN_VERSION', '1.8.3' );
define( 'CKWC_OAUTH_CLIENT_ID', 'L0kyADsB3WP5zO5MvUpXQU64gIntQg9BBAIme17r_7A' );
define( 'CKWC_OAUTH_CLIENT_REDIRECT_URI', 'https://app.convertkit.com/wordpress/redirect' );

Expand Down

0 comments on commit b48a15f

Please sign in to comment.