Skip to content

Handle null values when creating shipment #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

wgriffioen
Copy link
Member

No description provided.

# Conflicts:
#	readme.txt
#	sendy.php
#	src/Plugin.php

diff --git a/readme.txt b/readme.txt
index 2cf6dc7..0a60edc 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,16 +1,16 @@
 === Sendy ===
 Plugin Name: Sendy
 Plugin URI: https://app.sendy.nl/
 Description: A WooCommerce plugin that connects your site to the Sendy platform
-Version: 3.1.1
-Stable tag: 3.1.1
+Version: 3.1.2
+Stable tag: 3.1.2
 License: MIT
 Author: Sendy
 Author URI: https://sendy.nl/
 Tested up to: 6.7.1
 Requires PHP: 7.4
 Requires Plugins: woocommerce
 WC requires at least: 8.2
 WC tested up to: 9.5.2

 Een plugin van Sendy voor WooCommerce waarmee je op eenvoudige wijze labels aan kunt maken voor zendingen.
@@ -54,20 +54,23 @@ Meer informatie over de werking van de plugin is te vinden in de [kennisbank](ht
 == External services ==

 Deze plugin verbindt met de Sendy API om zendingen aan te maken.

 Hierbij worden de adres- en contactgegevens van de je klanten en (optioneel) de bestelde producten doorgestuurd naar Sendy zodra je de zending aanmaakt.

 Hierop zijn onze [algemene voorwaarden](https://sendy.nl/algemene-voorwaarden/) en [privacy statement](https://sendy.nl/privacy-statement/) van toepassing.

 == Changelog ==

+= 3.1.2 =
+* Fix an error when creating a shipment
+
 = 3.1.1 =
 * Fix an error message when synchronizing shipping methods

 = 3.1.0 =
 * Add support for a different method of creating shipments

 = 3.0.9 =
 * Fix an issue where plug-in was logged out when using multiple domains

 = 3.0.8 =
diff --git a/sendy.php b/sendy.php
index b6d33ed..5c94fb5 100644
--- a/sendy.php
+++ b/sendy.php
@@ -1,17 +1,17 @@
 <?php

 /**
  * Plugin Name: Sendy
  * Plugin URI: https://app.sendy.nl/
  * Description: A WooCommerce plugin that connects your site to the Sendy platform
- * Version: 3.1.1
+ * Version: 3.1.2
  * Author: Sendy
  * Author URI: https://sendy.nl/
  * License: MIT
  * Text Domain: sendy
  * Domain Path: /languages
  * Requires at least: 5.2
  * Tested up to: 6.7.1
  * Requires PHP: 7.4
  * Requires Plugins: woocommerce
  * WC requires at least: 8.2
diff --git a/src/Plugin.php b/src/Plugin.php
index 50662a2..0908d26 100644
--- a/src/Plugin.php
+++ b/src/Plugin.php
@@ -10,21 +10,21 @@ use Sendy\WooCommerce\Modules\Orders\BulkActions;
 use Sendy\WooCommerce\Modules\Orders\ProcessInBackground;
 use Sendy\WooCommerce\Modules\Orders\OrderList;
 use Sendy\WooCommerce\Modules\Orders\Single;
 use Sendy\WooCommerce\Modules\ShippingMethodsSynchronizer;
 use Sendy\WooCommerce\Modules\Webhooks;
 use Sendy\WooCommerce\ShippingMethods\PickupPointDelivery;
 use WC_Shipping_Method;

 class Plugin
 {
-    public const VERSION = '3.1.1';
+    public const VERSION = '3.1.2';

     public const SETTINGS_ID = 'sendy';

     private static Plugin $instance;

     private array $modules = [];

     private function __construct()
     {
         add_action('init', [$this, 'initialize_plugin'], 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant