Plugin Directory

Changeset 3104826


Ignore:
Timestamp:
06/20/2024 03:49:50 AM (22 months ago)
Author:
aipsg
Message:

tagging version 1.0.3

Location:
allinpayintl/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • allinpayintl/trunk/Allinpay_INTL.php

    r3103552 r3104826  
    55 * Author: aipsg
    66 * Author URI: http://rudrastyh.com
    7  * Version: 1.0.2
     7 * Version: 1.0.3
    88 */
    99
     
    275275
    276276
    277                     'shippingFirstName' => $order->get_shipping_first_name(),
    278                     'shippingLastName' => $order->get_shipping_last_name(),
    279                     'shippingAddress1' => $order->get_shipping_address_1(),
     277                    'shippingFirstName' => !empty($order->get_shipping_first_name()) ? $order->get_shipping_first_name():$order->get_billing_first_name(),
     278                    //'shippingFirstName' => $order->get_shipping_first_name(),
     279                    'shippingLastName' => !empty($order->get_shipping_last_name()) ? $order->get_shipping_last_name():$order->get_billing_last_name(),
     280                    'shippingAddress1' => !empty($order->get_shipping_address_1())? $order->get_shipping_address_1():$order->get_billing_address_1(),
    280281                    //'shippingAddress2' => $order->get_shipping_address_2(), //可选
    281                     'shippingCity' => $order->get_shipping_city(),
     282                    'shippingCity' => !empty($order->get_shipping_city())? $order->get_shipping_city():$order->get_billing_city(),
    282283                    //'shippingState'=> $order->get_shipping_state(),
    283                     'shippingState'=>!empty($order->get_shipping_state()) ? $order->get_shipping_state() : $order->get_shipping_city(),
    284                     'shippingCountry'=>$order->get_shipping_country(),
    285                     'shippingZipCode' => $order->get_shipping_postcode(),
     284                    'shippingState'=>!empty($order->get_shipping_state()) ? $order->get_shipping_state() :( !empty($order->get_shipping_city())?$order->get_shipping_city():$order->get_billing_city()),
     285                    'shippingCountry'=>!empty($order->get_shipping_country())?$order->get_shipping_country():$order->get_billing_country(),
     286                    'shippingZipCode' => !empty($order->get_shipping_postcode())?$order->get_shipping_postcode():$order->get_billing_postcode(),
    286287                    'shippingPhone' => $order->get_billing_phone(),
    287288
  • allinpayintl/trunk/readme.txt

    r3103552 r3104826  
    55Tested up to: 6.3
    66Requires PHP: 7.4
    7 Stable tag: 1.0.2
     7Stable tag: 1.0.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3333= 1.0.2 =
    3434Made some optimizations
    35 
     35= 1.0.3 =
     36Made some optimizations
    3637FAQ:
    3738
     
    5354
    5455== Upgrade Notice ==
     56= 1.0.3=
     57Made some optimizations
    5558= 1.0.2=
    5659Made some optimizations
Note: See TracChangeset for help on using the changeset viewer.