Plugin Directory

Changeset 3370715


Ignore:
Timestamp:
09/30/2025 09:21:49 PM (6 months ago)
Author:
bulletproofcheckout
Message:

minor version updates

Location:
bulletproof-checkout-lite/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bulletproof-checkout-lite/trunk/README.txt

    r3368943 r3370715  
    11=== BulletProof Payment Gateway ===
    22Contributors: bulletproofcheckout
    3 Tags: woocommerce, 3DS, payment gateway, bulletproof, NMI, chargeback
     3Tags: woocommerce, 3DS, payment gateway, bulletproof, chargeback, fraud prevention
    44WC requires at least: 5.0
    5 WC tested up to: 9.6.2
    6 Tested up to: 6.7.2
    7 Stable tag: 1.0.16
     5WC tested up to: 10.2.2
     6Tested up to: 6.8.2
     7Stable tag: 1.0.21
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    182182
    183183### Countries Served
    184 - Currently we support US, CA, and UK. We receive Credit Cards Worldwide.
     184- Currently we support merchants located on USA, Canada, Mexico and UK. We receive Credit Cards Worldwide.
    185185
    186186
     
    231231Extra payment information at the Order detail
    232232Tested with WooCommerce version 10.2.1
     233= 1.0.20 =
     234Tested with WooCommerce version 10.2.2
     235= 1.0.21 =
     236Added zip code denial reason at the Checkout
  • bulletproof-checkout-lite/trunk/bulletproof-checkout-lite.php

    r3368943 r3370715  
    55 * Plugin URI: https://www.bulletproof-checkout.com/
    66 * Description: Protect your credit card payments with 3D Secure (3DS) and say goodbye to chargebacks.
    7  * Version: 1.0.20
     7 * Version: 1.0.21
    88 * Author: BulletProof Checkout <support@bulletproof-checkout.com>
    99 * Author URI: https://www.bulletproof-checkout.com/
     
    1212 * Text Domain: bulletproof-checkout-lite
    1313 * WC requires at least: 5.0
    14  * WC tested up to: 10.2.1
     14 * WC tested up to: 10.2.2
    1515 * Tested up to: 6.8.2
    1616 * Requires PHP: 7.4
  • bulletproof-checkout-lite/trunk/includes/class-wc-bulletproof-payment-gateway-lite.php

    r3368943 r3370715  
    13761376            }
    13771377        }
    1378         // check if state is longer than 3 characters
    1379         if (strlen($the_state) > 3) {
    1380             $the_state = $this->left($the_state, 3);
    1381         }
    1382         if (strlen($the_state_shipping) > 3) {
    1383             $the_state_shipping = $this->left($the_state_shipping, 3);
    1384         }
    1385 
     1378       
    13861379        // Build an array of sale authorization parameters.
    13871380        // The parameter fix_iso_codes will ignore states (which are not on ISO format)
     
    14921485            error_log('API request failed: ' . $response->get_error_message());
    14931486        } else {
     1487
    14941488            // Decode the JSON response.
    14951489            $body = json_decode(wp_remote_retrieve_body($response));
    14961490            // Return the decoded response.
     1491            if ($body == "" && $response != "") {
     1492                $body = wp_remote_retrieve_body($response);
     1493            }
     1494            if ($body == "" && $response != "" && isset($response['body']) && $response['body']!="") {
     1495                $body = $response['body'];
     1496            }
    14971497            return $body;
    14981498        }
Note: See TracChangeset for help on using the changeset viewer.