Plugin Directory

Changeset 3184600


Ignore:
Timestamp:
11/08/2024 05:49:54 PM (17 months ago)
Author:
echeckpointplugin
Message:

Updated trunk and created a tag for plugin version 1.5.1

Location:
echeckpoint
Files:
5 edited
12 copied

Legend:

Unmodified
Added
Removed
  • echeckpoint/tags/1.5.1/ReleaseNotes.txt

    r3169594 r3184600  
     1= 1.5.1 - 2024.10.29 =
     2* Enhanced error handling for compatibility with WordPress 6.7.
     3
    14= 1.5.0 - 2024.09.22 =
    25* Moved the addition of the Compliance Fee to occur after the first compliance check.
  • echeckpoint/tags/1.5.1/echeckpoint.php

    r3169594 r3184600  
    33 * Plugin Name: eCheckpoint
    44 * Description: Robust compliance checks for firearms eCommerce. Verifies whether your customers can purchase products based on federal, state, and local sales laws.
    5  * Version: 1.5.0
     5 * Version: 1.5.1
    66 * Author: eCheckpoint
    77 * License: GPLv2 or later
  • echeckpoint/tags/1.5.1/echeckpoint_pre-order-check.php

    r3169594 r3184600  
    104104            // Use filter_input to safely get the post_data from the POST request
    105105            // Use FILTER_SANITIZE_STRING to properly sanitize the data instead of FILTER_DEFAULT
    106             $post_data = filter_input(INPUT_POST, 'post_data', FILTER_SANITIZE_STRING);
     106            $post_data = filter_input(INPUT_POST, 'post_data', FILTER_SANITIZE_FULL_SPECIAL_CHARS);
    107107
    108108            // Initialize $nonce as null
     
    110110
    111111            if ($post_data) {
     112                $post_data = html_entity_decode($post_data);
    112113                parse_str($post_data, $parsed_data);
    113114
  • echeckpoint/tags/1.5.1/echeckpoint_settings.php

    r3169594 r3184600  
    8989
    9090            // Verify nonce for POST requests
    91             if ($_SERVER['REQUEST_METHOD'] === 'POST') {
     91            if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'POST') {
    9292                if (!isset($_POST['eCheckpoint_nonce_name']) || !wp_verify_nonce(sanitize_text_field(wp_unslash($_POST['eCheckpoint_nonce_name'])), 'eCheckpoint_nonce_action')) {
    9393                    wp_die('Nonce verification failed');
    9494                }
    9595            }
    96 
    97             $active_tab = isset($_GET['tab']) ? sanitize_text_field($_GET['tab']) : 'pre_order_checkpoint';
     96           
     97            $active_tab = isset($_GET['tab']) ? sanitize_text_field(wp_unslash($_GET['tab'])) : 'pre_order_checkpoint';
     98
    9899            $tab_titles = [
    99100                'pre_order_checkpoint' => 'Pre-Order Checkpoint',
  • echeckpoint/tags/1.5.1/readme.txt

    r3173841 r3184600  
    33Tags: compliance, firearms, WooCommerce, regulations, verification
    44Requires at least: 4.7
    5 Tested up to: 6.6
    6 Stable tag: 1.5.0
     5Tested up to: 6.7
     6Stable tag: 1.5.1
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    1313== Description ==
    1414eCheckpoint is a comprehensive solution for firearms, ammunition, magazines, and knives eCommerce. Our plugin integrates with your WooCommerce store to verify whether your customers can purchase the regulated products in their cart based on federal, state, and local sales laws.
    15 
    16 == Service Integration ==
    17 This plugin relies on the eCheckpoint API for compliance checks and validation. The eCheckpoint API collects and verifies compliance information based on federal, state, and local sales laws.
    18 
    19 **Data transmitted to eCheckpoint includes:**
    20 - Product SKU
    21 - Customer address information for compliance verification
    22 
    23 
    24 **API Service Provider:**
    25 - eCheckpoint
    26 - https://www.echeckpoint.com
    27 
    28 **Service URL:** [eCheckpoint](https://echeckpoint.com)
    29 
    30 **Terms of Use:** [eCheckpoint Terms of Use](https://echeckpoint.com/msa)
    31 
    32 **Privacy Policy:** [eCheckpoint Privacy Policy](https://echeckpoint.com/privacy-policy)
    33 
    34 This integration is required for the plugin to function correctly, as all activity is facilitated through the eCheckpoint service.
    3515
    3616== Features ==
     
    7656   ![Activating eCheckpoint](url-to-screenshot.png)
    7757
    78 After clicking **Activate**, you will be taken to the setup page to start creating your account.
    7958
    80 ### Signing Up
    81 1. Once activated, you’ll be directed to the eCheckpoint setup page.
    82 2. Follow the on-screen instructions to create your eCheckpoint account.
    83 3. Complete the registration process by providing necessary business and contact information.
    84 4. Configure your compliance settings based on your business requirements.
     59### Important Notice: Compatibility with WooCommerce Block-Based Checkout 
     60
     61eCheckpoint’s WooCommerce app is fully compatible with the latest version of WordPress. However, WooCommerce 8.3+ now defaults to a block-based Checkout page, which is **not yet supported** by eCheckpoint. We are actively working on an update to add compatibility with the block-based checkout.
     62
     63**To ensure compatibility with eCheckpoint in the meantime:** 
     64Please confirm that your WooCommerce Checkout page uses the `[woocommerce_checkout]` shortcode instead of the default block-based checkout.
     65
     66#### Replacing Block-Based Checkout with Shortcodes
     67
     681. Go to **WP Admin > Pages** and select **Checkout**.
     692. In the editor, enable List View, locate, and delete the **Checkout Block**.
     703. Add a **Shortcode Block** and insert `[woocommerce_checkout]`.
     714. Click **Update** to save.
     72
     73This adjustment will ensure that eCheckpoint works seamlessly with your store’s checkout process.
     74
     75### Setup
     761. Once activated, you’ll be directed to the eCheckpoint settings page.
     772. Enter your account-specific API key. If you need an API key, reach out to support@echeckpoint.com and one will be provided to you.
     783. Configure your compliance settings based on your business requirements.
     79
     80== Service Integration ==
     81This plugin relies on the eCheckpoint API for compliance checks and validation. The eCheckpoint API collects and verifies compliance information based on federal, state, and local sales laws.
     82
     83**Data transmitted to eCheckpoint includes:**
     84- Product SKU
     85- Customer address information for compliance verification
     86
     87
     88**API Service Provider:**
     89- eCheckpoint
     90- https://www.echeckpoint.com
     91
     92**Service URL:** [eCheckpoint](https://echeckpoint.com)
     93
     94**Terms of Use:** [eCheckpoint Terms of Use](https://echeckpoint.com/msa)
     95
     96**Privacy Policy:** [eCheckpoint Privacy Policy](https://echeckpoint.com/privacy-policy)
     97
     98This integration is required for the plugin to function correctly, as all activity is facilitated through the eCheckpoint service.
    8599
    86100== Frequently Asked Questions ==
     
    161175* Updated plugin description
    162176
    163 = 1.0.0 =
     177= 1.0.0 = 2024.03.01 =
    164178* Initial release with compliance checks, credential verification, and FFL validation.
    165179
  • echeckpoint/trunk/ReleaseNotes.txt

    r3169594 r3184600  
     1= 1.5.1 - 2024.10.29 =
     2* Enhanced error handling for compatibility with WordPress 6.7.
     3
    14= 1.5.0 - 2024.09.22 =
    25* Moved the addition of the Compliance Fee to occur after the first compliance check.
  • echeckpoint/trunk/echeckpoint.php

    r3169594 r3184600  
    33 * Plugin Name: eCheckpoint
    44 * Description: Robust compliance checks for firearms eCommerce. Verifies whether your customers can purchase products based on federal, state, and local sales laws.
    5  * Version: 1.5.0
     5 * Version: 1.5.1
    66 * Author: eCheckpoint
    77 * License: GPLv2 or later
  • echeckpoint/trunk/echeckpoint_pre-order-check.php

    r3169594 r3184600  
    104104            // Use filter_input to safely get the post_data from the POST request
    105105            // Use FILTER_SANITIZE_STRING to properly sanitize the data instead of FILTER_DEFAULT
    106             $post_data = filter_input(INPUT_POST, 'post_data', FILTER_SANITIZE_STRING);
     106            $post_data = filter_input(INPUT_POST, 'post_data', FILTER_SANITIZE_FULL_SPECIAL_CHARS);
    107107
    108108            // Initialize $nonce as null
     
    110110
    111111            if ($post_data) {
     112                $post_data = html_entity_decode($post_data);
    112113                parse_str($post_data, $parsed_data);
    113114
  • echeckpoint/trunk/echeckpoint_settings.php

    r3169594 r3184600  
    8989
    9090            // Verify nonce for POST requests
    91             if ($_SERVER['REQUEST_METHOD'] === 'POST') {
     91            if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'POST') {
    9292                if (!isset($_POST['eCheckpoint_nonce_name']) || !wp_verify_nonce(sanitize_text_field(wp_unslash($_POST['eCheckpoint_nonce_name'])), 'eCheckpoint_nonce_action')) {
    9393                    wp_die('Nonce verification failed');
    9494                }
    9595            }
    96 
    97             $active_tab = isset($_GET['tab']) ? sanitize_text_field($_GET['tab']) : 'pre_order_checkpoint';
     96           
     97            $active_tab = isset($_GET['tab']) ? sanitize_text_field(wp_unslash($_GET['tab'])) : 'pre_order_checkpoint';
     98
    9899            $tab_titles = [
    99100                'pre_order_checkpoint' => 'Pre-Order Checkpoint',
  • echeckpoint/trunk/readme.txt

    r3173841 r3184600  
    33Tags: compliance, firearms, WooCommerce, regulations, verification
    44Requires at least: 4.7
    5 Tested up to: 6.6
    6 Stable tag: 1.5.0
     5Tested up to: 6.7
     6Stable tag: 1.5.1
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    1313== Description ==
    1414eCheckpoint is a comprehensive solution for firearms, ammunition, magazines, and knives eCommerce. Our plugin integrates with your WooCommerce store to verify whether your customers can purchase the regulated products in their cart based on federal, state, and local sales laws.
    15 
    16 == Service Integration ==
    17 This plugin relies on the eCheckpoint API for compliance checks and validation. The eCheckpoint API collects and verifies compliance information based on federal, state, and local sales laws.
    18 
    19 **Data transmitted to eCheckpoint includes:**
    20 - Product SKU
    21 - Customer address information for compliance verification
    22 
    23 
    24 **API Service Provider:**
    25 - eCheckpoint
    26 - https://www.echeckpoint.com
    27 
    28 **Service URL:** [eCheckpoint](https://echeckpoint.com)
    29 
    30 **Terms of Use:** [eCheckpoint Terms of Use](https://echeckpoint.com/msa)
    31 
    32 **Privacy Policy:** [eCheckpoint Privacy Policy](https://echeckpoint.com/privacy-policy)
    33 
    34 This integration is required for the plugin to function correctly, as all activity is facilitated through the eCheckpoint service.
    3515
    3616== Features ==
     
    7656   ![Activating eCheckpoint](url-to-screenshot.png)
    7757
    78 After clicking **Activate**, you will be taken to the setup page to start creating your account.
    7958
    80 ### Signing Up
    81 1. Once activated, you’ll be directed to the eCheckpoint setup page.
    82 2. Follow the on-screen instructions to create your eCheckpoint account.
    83 3. Complete the registration process by providing necessary business and contact information.
    84 4. Configure your compliance settings based on your business requirements.
     59### Important Notice: Compatibility with WooCommerce Block-Based Checkout 
     60
     61eCheckpoint’s WooCommerce app is fully compatible with the latest version of WordPress. However, WooCommerce 8.3+ now defaults to a block-based Checkout page, which is **not yet supported** by eCheckpoint. We are actively working on an update to add compatibility with the block-based checkout.
     62
     63**To ensure compatibility with eCheckpoint in the meantime:** 
     64Please confirm that your WooCommerce Checkout page uses the `[woocommerce_checkout]` shortcode instead of the default block-based checkout.
     65
     66#### Replacing Block-Based Checkout with Shortcodes
     67
     681. Go to **WP Admin > Pages** and select **Checkout**.
     692. In the editor, enable List View, locate, and delete the **Checkout Block**.
     703. Add a **Shortcode Block** and insert `[woocommerce_checkout]`.
     714. Click **Update** to save.
     72
     73This adjustment will ensure that eCheckpoint works seamlessly with your store’s checkout process.
     74
     75### Setup
     761. Once activated, you’ll be directed to the eCheckpoint settings page.
     772. Enter your account-specific API key. If you need an API key, reach out to support@echeckpoint.com and one will be provided to you.
     783. Configure your compliance settings based on your business requirements.
     79
     80== Service Integration ==
     81This plugin relies on the eCheckpoint API for compliance checks and validation. The eCheckpoint API collects and verifies compliance information based on federal, state, and local sales laws.
     82
     83**Data transmitted to eCheckpoint includes:**
     84- Product SKU
     85- Customer address information for compliance verification
     86
     87
     88**API Service Provider:**
     89- eCheckpoint
     90- https://www.echeckpoint.com
     91
     92**Service URL:** [eCheckpoint](https://echeckpoint.com)
     93
     94**Terms of Use:** [eCheckpoint Terms of Use](https://echeckpoint.com/msa)
     95
     96**Privacy Policy:** [eCheckpoint Privacy Policy](https://echeckpoint.com/privacy-policy)
     97
     98This integration is required for the plugin to function correctly, as all activity is facilitated through the eCheckpoint service.
    8599
    86100== Frequently Asked Questions ==
     
    161175* Updated plugin description
    162176
    163 = 1.0.0 =
     177= 1.0.0 = 2024.03.01 =
    164178* Initial release with compliance checks, credential verification, and FFL validation.
    165179
Note: See TracChangeset for help on using the changeset viewer.