Changeset 3184600
- Timestamp:
- 11/08/2024 05:49:54 PM (17 months ago)
- Location:
- echeckpoint
- Files:
-
- 5 edited
- 12 copied
-
tags/1.5.1 (copied) (copied from echeckpoint/trunk)
-
tags/1.5.1/License.txt (copied) (copied from echeckpoint/trunk/License.txt)
-
tags/1.5.1/ReleaseNotes.txt (copied) (copied from echeckpoint/trunk/ReleaseNotes.txt) (1 diff)
-
tags/1.5.1/css (copied) (copied from echeckpoint/trunk/css)
-
tags/1.5.1/echeckpoint.php (copied) (copied from echeckpoint/trunk/echeckpoint.php) (1 diff)
-
tags/1.5.1/echeckpoint_compliance-fee.php (copied) (copied from echeckpoint/trunk/echeckpoint_compliance-fee.php)
-
tags/1.5.1/echeckpoint_post-order-check.php (copied) (copied from echeckpoint/trunk/echeckpoint_post-order-check.php)
-
tags/1.5.1/echeckpoint_pre-order-check.php (copied) (copied from echeckpoint/trunk/echeckpoint_pre-order-check.php) (2 diffs)
-
tags/1.5.1/echeckpoint_settings.php (copied) (copied from echeckpoint/trunk/echeckpoint_settings.php) (1 diff)
-
tags/1.5.1/images (copied) (copied from echeckpoint/trunk/images)
-
tags/1.5.1/js (copied) (copied from echeckpoint/trunk/js)
-
tags/1.5.1/readme.txt (copied) (copied from echeckpoint/trunk/readme.txt) (4 diffs)
-
trunk/ReleaseNotes.txt (modified) (1 diff)
-
trunk/echeckpoint.php (modified) (1 diff)
-
trunk/echeckpoint_pre-order-check.php (modified) (2 diffs)
-
trunk/echeckpoint_settings.php (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
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 1 4 = 1.5.0 - 2024.09.22 = 2 5 * Moved the addition of the Compliance Fee to occur after the first compliance check. -
echeckpoint/tags/1.5.1/echeckpoint.php
r3169594 r3184600 3 3 * Plugin Name: eCheckpoint 4 4 * 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. 05 * Version: 1.5.1 6 6 * Author: eCheckpoint 7 7 * License: GPLv2 or later -
echeckpoint/tags/1.5.1/echeckpoint_pre-order-check.php
r3169594 r3184600 104 104 // Use filter_input to safely get the post_data from the POST request 105 105 // 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); 107 107 108 108 // Initialize $nonce as null … … 110 110 111 111 if ($post_data) { 112 $post_data = html_entity_decode($post_data); 112 113 parse_str($post_data, $parsed_data); 113 114 -
echeckpoint/tags/1.5.1/echeckpoint_settings.php
r3169594 r3184600 89 89 90 90 // Verify nonce for POST requests 91 if ( $_SERVER['REQUEST_METHOD'] === 'POST') {91 if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'POST') { 92 92 if (!isset($_POST['eCheckpoint_nonce_name']) || !wp_verify_nonce(sanitize_text_field(wp_unslash($_POST['eCheckpoint_nonce_name'])), 'eCheckpoint_nonce_action')) { 93 93 wp_die('Nonce verification failed'); 94 94 } 95 95 } 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 98 99 $tab_titles = [ 99 100 'pre_order_checkpoint' => 'Pre-Order Checkpoint', -
echeckpoint/tags/1.5.1/readme.txt
r3173841 r3184600 3 3 Tags: compliance, firearms, WooCommerce, regulations, verification 4 4 Requires at least: 4.7 5 Tested up to: 6. 66 Stable tag: 1.5. 05 Tested up to: 6.7 6 Stable tag: 1.5.1 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 13 13 == Description == 14 14 eCheckpoint 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 SKU21 - Customer address information for compliance verification22 23 24 **API Service Provider:**25 - eCheckpoint26 - https://www.echeckpoint.com27 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.35 15 36 16 == Features == … … 76 56  77 57 78 After clicking **Activate**, you will be taken to the setup page to start creating your account.79 58 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 61 eCheckpoint’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:** 64 Please 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 68 1. Go to **WP Admin > Pages** and select **Checkout**. 69 2. In the editor, enable List View, locate, and delete the **Checkout Block**. 70 3. Add a **Shortcode Block** and insert `[woocommerce_checkout]`. 71 4. Click **Update** to save. 72 73 This adjustment will ensure that eCheckpoint works seamlessly with your store’s checkout process. 74 75 ### Setup 76 1. Once activated, you’ll be directed to the eCheckpoint settings page. 77 2. 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. 78 3. Configure your compliance settings based on your business requirements. 79 80 == Service Integration == 81 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. 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 98 This integration is required for the plugin to function correctly, as all activity is facilitated through the eCheckpoint service. 85 99 86 100 == Frequently Asked Questions == … … 161 175 * Updated plugin description 162 176 163 = 1.0.0 = 177 = 1.0.0 = 2024.03.01 = 164 178 * Initial release with compliance checks, credential verification, and FFL validation. 165 179 -
echeckpoint/trunk/ReleaseNotes.txt
r3169594 r3184600 1 = 1.5.1 - 2024.10.29 = 2 * Enhanced error handling for compatibility with WordPress 6.7. 3 1 4 = 1.5.0 - 2024.09.22 = 2 5 * Moved the addition of the Compliance Fee to occur after the first compliance check. -
echeckpoint/trunk/echeckpoint.php
r3169594 r3184600 3 3 * Plugin Name: eCheckpoint 4 4 * 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. 05 * Version: 1.5.1 6 6 * Author: eCheckpoint 7 7 * License: GPLv2 or later -
echeckpoint/trunk/echeckpoint_pre-order-check.php
r3169594 r3184600 104 104 // Use filter_input to safely get the post_data from the POST request 105 105 // 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); 107 107 108 108 // Initialize $nonce as null … … 110 110 111 111 if ($post_data) { 112 $post_data = html_entity_decode($post_data); 112 113 parse_str($post_data, $parsed_data); 113 114 -
echeckpoint/trunk/echeckpoint_settings.php
r3169594 r3184600 89 89 90 90 // Verify nonce for POST requests 91 if ( $_SERVER['REQUEST_METHOD'] === 'POST') {91 if (isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'POST') { 92 92 if (!isset($_POST['eCheckpoint_nonce_name']) || !wp_verify_nonce(sanitize_text_field(wp_unslash($_POST['eCheckpoint_nonce_name'])), 'eCheckpoint_nonce_action')) { 93 93 wp_die('Nonce verification failed'); 94 94 } 95 95 } 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 98 99 $tab_titles = [ 99 100 'pre_order_checkpoint' => 'Pre-Order Checkpoint', -
echeckpoint/trunk/readme.txt
r3173841 r3184600 3 3 Tags: compliance, firearms, WooCommerce, regulations, verification 4 4 Requires at least: 4.7 5 Tested up to: 6. 66 Stable tag: 1.5. 05 Tested up to: 6.7 6 Stable tag: 1.5.1 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 13 13 == Description == 14 14 eCheckpoint 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 SKU21 - Customer address information for compliance verification22 23 24 **API Service Provider:**25 - eCheckpoint26 - https://www.echeckpoint.com27 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.35 15 36 16 == Features == … … 76 56  77 57 78 After clicking **Activate**, you will be taken to the setup page to start creating your account.79 58 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 61 eCheckpoint’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:** 64 Please 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 68 1. Go to **WP Admin > Pages** and select **Checkout**. 69 2. In the editor, enable List View, locate, and delete the **Checkout Block**. 70 3. Add a **Shortcode Block** and insert `[woocommerce_checkout]`. 71 4. Click **Update** to save. 72 73 This adjustment will ensure that eCheckpoint works seamlessly with your store’s checkout process. 74 75 ### Setup 76 1. Once activated, you’ll be directed to the eCheckpoint settings page. 77 2. 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. 78 3. Configure your compliance settings based on your business requirements. 79 80 == Service Integration == 81 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. 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 98 This integration is required for the plugin to function correctly, as all activity is facilitated through the eCheckpoint service. 85 99 86 100 == Frequently Asked Questions == … … 161 175 * Updated plugin description 162 176 163 = 1.0.0 = 177 = 1.0.0 = 2024.03.01 = 164 178 * Initial release with compliance checks, credential verification, and FFL validation. 165 179
Note: See TracChangeset
for help on using the changeset viewer.