Plugin Directory

Changeset 2620040


Ignore:
Timestamp:
10/26/2021 09:56:50 AM (4 years ago)
Author:
provesource
Message:

Add woocommerce order address parsing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • provesource/trunk/provesrc.php

    r2619020 r2620040  
    77 * Plugin Name: ProveSource
    88 * Description: ProveSource is a social proof marketing platform that works with your Wordpress and WooCommerce websites out of the box
    9  * Version: 2.2.10
     9 * Version: 2.2.11
    1010 * Author: ProveSource LTD
    1111 * Author URI: https://provesrc.com
     
    4747
    4848    public static function version() {
    49         return '2.2.10';
     49        return '2.2.11';
    5050    }
    5151}
     
    318318        'currency' => $order->get_currency(),
    319319        'products' => provesrc_get_products_array($order),
     320        'billingAddress' => $order->get_address('billing'),
     321        'shippingAddress' => $order->get_address('shipping'),
    320322    );
    321323    if($location) {
    322         $payload['location'] = $location;
     324        $payload['wooLocation'] = $location;
    323325    }
    324326    $countryCode = $order->get_billing_country();
Note: See TracChangeset for help on using the changeset viewer.