Skip to content

Commit

Permalink
1.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
n7studios committed Jul 25, 2024
1 parent 7092402 commit 22dbc60
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 16 deletions.
12 changes: 6 additions & 6 deletions ACTIONS-FILTERS.md
Original file line number Diff line number Diff line change
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::714</code>
<code>includes/class-ckwc-order.php::720</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::746</code>
<code>includes/class-ckwc-order.php::752</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::801</code>
<code>includes/class-ckwc-order.php::807</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::833</code>
<code>includes/class-ckwc-order.php::839</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::865</code>
<code>includes/class-ckwc-order.php::871</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::919</code>
<code>includes/class-ckwc-order.php::925</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
2 changes: 1 addition & 1 deletion admin/class-ckwc-admin-ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function sync_past_orders() {
/* translators: %1$s: WooCommerce Order ID, %2$s: ConvertKit API Purchase ID */
__( 'WooCommerce Order ID #%1$s added to ConvertKit Purchase Data successfully. ConvertKit Purchase ID: #%2$s', 'woocommerce-convertkit' ),
$id,
$result['id']
$result['purchase']['id']
)
);

Expand Down
2 changes: 1 addition & 1 deletion includes/class-ckwc-cli-sync-past-orders.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function __invoke( $args, $arguments ) {
/* translators: %1$s: WooCommerce Order ID, %2$s: ConvertKit API Purchase ID */
__( 'WooCommerce Order ID #%1$s added to ConvertKit Purchase Data successfully. ConvertKit Purchase ID: #%2$s', 'woocommerce-convertkit' ),
$id,
$result['id']
$result['purchase']['id']
)
);
}
Expand Down
9 changes: 5 additions & 4 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.1\n"
"Project-Id-Version: ConvertKit for WooCommerce 1.8.2\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-18T03:32:29+00:00\n"
"POT-Creation-Date: 2024-07-25T02:46:45+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 @@ -526,8 +526,9 @@ msgstr ""
msgid "[ConvertKit] Send Purchase Data Error: %1$s %2$s"
msgstr ""

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

#: includes/class-wp-ckwc.php:195
Expand Down
8 changes: 6 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Contributors: nathanbarry, growdev, travisnorthcutt, convertkit
Donate link: https://convertkit.com
Tags: email, marketing, embed form, convertkit, capture
Requires at least: 5.0
Tested up to: 6.6
Tested up to: 6.6.1
Requires PHP: 5.6.20
Stable tag: 1.8.1
Stable tag: 1.8.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

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

== Changelog ==

### 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`

### 1.8.1 2024-07-18
* Updated: ConvertKit WordPress Libraries to 2.0.1

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.1
* Version: 1.8.2
* 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.1' );
define( 'CKWC_PLUGIN_VERSION', '1.8.2' );
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 22dbc60

Please sign in to comment.