Plugin Directory

Changeset 3697835


Ignore:
Timestamp:
09/16/2026 01:58:43 AM (2 months ago)
Author:
hlhuntinc
Message:

1.1.4: send the order billing address with each charge (IP vs billing mismatch signal in HL Hunt); no checkout behaviour change

Location:
hl-hunt-payment-gateway-for-woocommerce
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • hl-hunt-payment-gateway-for-woocommerce/tags/1.1.4/hlhunt-woocommerce.php

    r3621605 r3697835  
    44 * Plugin URI:        https://payments.hlhunt.org/woocommerce
    55 * Description:       Accept credit card and ACH bank payments securely through HL Hunt. PCI-compliant — payment data never touches your server.
    6  * Version:           1.1.3
     6 * Version:           1.1.4
    77 * Author:            HL Hunt, Inc.
    88 * Author URI:        https://hlhunt.org
    … …  
    2424// ── Plugin Constants ──
    2525
    26 define( 'HLHUNT_WC_VERSION', '1.1.3' );
     26define( 'HLHUNT_WC_VERSION', '1.1.4' );
    2727define( 'HLHUNT_WC_PLUGIN_FILE', __FILE__ );
    2828define( 'HLHUNT_WC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • hl-hunt-payment-gateway-for-woocommerce/tags/1.1.4/includes/Payment/Gateway.php

    r3621605 r3697835  
    281281            $charge_body['customer_email'] = $customer_email;
    282282        }
     283        // Billing address → HL Hunt compares it with the buyer's IP location
     284        // (fraud signal shown on the transaction). Never required.
     285        $billing_state = $order->get_billing_state();
     286        $billing_country = $order->get_billing_country();
     287        if ( ! empty( $billing_state ) || ! empty( $billing_country ) ) {
     288            $charge_body['billing_address'] = array_filter( array(
     289                'line1'       => $order->get_billing_address_1(),
     290                'city'        => $order->get_billing_city(),
     291                'state'       => $billing_state,
     292                'postal_code' => $order->get_billing_postcode(),
     293                'country'     => $billing_country,
     294            ) );
     295        }
    283296
    284297        if ( ! empty( $reference ) ) {
  • hl-hunt-payment-gateway-for-woocommerce/tags/1.1.4/readme.txt

    r3621605 r3697835  
    77WC requires at least: 6.0
    88WC tested up to: 9.3
    9 Stable tag: 1.1.3
     9Stable tag: 1.1.4
    1010License: GPLv2 or later
    1111License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    8282== Changelog ==
    8383
     84= 1.1.4 =
     85* NEW: The order's billing address (street, city, state, postcode, country) is sent with each charge so HL Hunt can compare it with the buyer's IP location and flag mismatches on the transaction. Optional — no checkout behaviour changes.
     86
    8487= 1.1.3 =
    8588* FIX: Customer name and email are now sent with each charge so completed orders correctly populate customer records in the HL Hunt dashboard.
  • hl-hunt-payment-gateway-for-woocommerce/trunk/hlhunt-woocommerce.php

    r3621605 r3697835  
    44 * Plugin URI:        https://payments.hlhunt.org/woocommerce
    55 * Description:       Accept credit card and ACH bank payments securely through HL Hunt. PCI-compliant — payment data never touches your server.
    6  * Version:           1.1.3
     6 * Version:           1.1.4
    77 * Author:            HL Hunt, Inc.
    88 * Author URI:        https://hlhunt.org
    … …  
    2424// ── Plugin Constants ──
    2525
    26 define( 'HLHUNT_WC_VERSION', '1.1.3' );
     26define( 'HLHUNT_WC_VERSION', '1.1.4' );
    2727define( 'HLHUNT_WC_PLUGIN_FILE', __FILE__ );
    2828define( 'HLHUNT_WC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • hl-hunt-payment-gateway-for-woocommerce/trunk/includes/Payment/Gateway.php

    r3621605 r3697835  
    281281            $charge_body['customer_email'] = $customer_email;
    282282        }
     283        // Billing address → HL Hunt compares it with the buyer's IP location
     284        // (fraud signal shown on the transaction). Never required.
     285        $billing_state = $order->get_billing_state();
     286        $billing_country = $order->get_billing_country();
     287        if ( ! empty( $billing_state ) || ! empty( $billing_country ) ) {
     288            $charge_body['billing_address'] = array_filter( array(
     289                'line1'       => $order->get_billing_address_1(),
     290                'city'        => $order->get_billing_city(),
     291                'state'       => $billing_state,
     292                'postal_code' => $order->get_billing_postcode(),
     293                'country'     => $billing_country,
     294            ) );
     295        }
    283296
    284297        if ( ! empty( $reference ) ) {
  • hl-hunt-payment-gateway-for-woocommerce/trunk/readme.txt

    r3621605 r3697835  
    77WC requires at least: 6.0
    88WC tested up to: 9.3
    9 Stable tag: 1.1.3
     9Stable tag: 1.1.4
    1010License: GPLv2 or later
    1111License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    8282== Changelog ==
    8383
     84= 1.1.4 =
     85* NEW: The order's billing address (street, city, state, postcode, country) is sent with each charge so HL Hunt can compare it with the buyer's IP location and flag mismatches on the transaction. Optional — no checkout behaviour changes.
     86
    8487= 1.1.3 =
    8588* FIX: Customer name and email are now sent with each charge so completed orders correctly populate customer records in the HL Hunt dashboard.
Note: See TracChangeset for help on using the changeset viewer.