Plugin Directory

Changeset 2539713


Ignore:
Timestamp:
05/30/2021 12:14:39 PM (5 years ago)
Author:
delyva
Message:

e277a8f - Fix webhook failed to verify customerId.

Location:
delyvax/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • delyvax/trunk/delyvax.php

    r2539396 r2539713  
    44    Plugin URI: https://delyva.com/solutions
    55    description: The official DelyvaX plugin helps store owners to integrate WooCommerce with [DelyvaX](https://delyva.com/solutions) for seamless service comparison and order processing.
    6     Version: 1.1.7
     6    Version: 1.1.8
    77    Author: DelyvaX
    88    Author URI: https://delyva.com/solutions
     
    1313    defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
    1414    define('DELYVAX_API_ENDPOINT', 'https://api.delyva.app/');
    15     define('DELYVAX_PLUGIN_VERSION', '1.1.7');
     15    define('DELYVAX_PLUGIN_VERSION', '1.1.8');
    1616
    1717    require_once plugin_dir_path(__FILE__) . 'functions.php';
  • delyvax/trunk/includes/delyvax-webhook.php

    r2539396 r2539713  
    102102            $settings = get_option( 'woocommerce_delyvax_settings');
    103103
    104             if( isset($data['orderId']) && isset($data['consignmentNo']) && isset($data['statusCode']) && $settings['customer_id'] === $data['customerId'])
     104            if( isset($data['orderId']) && isset($data['consignmentNo']) && isset($data['statusCode'])
     105              && intval($settings['customer_id']) === intval($data['customerId']))
    105106            {
    106107                if ($settings['api_webhook_enable'] == 'yes') {
  • delyvax/trunk/readme.txt

    r2539396 r2539713  
    44Requires at least: 5.4
    55Tested up to: 5.7
    6 Stable tag: 1.1.7
     6Stable tag: 1.1.8
    77Requires PHP: 7.2
    88License: GPLv3
     
    3434== Changelog ==
    3535
     36= 1.1.8 - May 30 2021 = Important Update! Fix webhook failed to verify customerId.
    3637= 1.1.7 - May 28 2021 = Bug fixes. Refactor webhook function.
    3738= 1.1.6 - May 9 2021 = Adjustments for international delivery. Supports multi-vendor with Dokan and WCFM Marketplace.
Note: See TracChangeset for help on using the changeset viewer.