Changeset 3104826
- Timestamp:
- 06/20/2024 03:49:50 AM (22 months ago)
- Location:
- allinpayintl/trunk
- Files:
-
- 2 edited
-
Allinpay_INTL.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
allinpayintl/trunk/Allinpay_INTL.php
r3103552 r3104826 5 5 * Author: aipsg 6 6 * Author URI: http://rudrastyh.com 7 * Version: 1.0. 27 * Version: 1.0.3 8 8 */ 9 9 … … 275 275 276 276 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(), 280 281 //'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(), 282 283 //'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(), 286 287 'shippingPhone' => $order->get_billing_phone(), 287 288 -
allinpayintl/trunk/readme.txt
r3103552 r3104826 5 5 Tested up to: 6.3 6 6 Requires PHP: 7.4 7 Stable tag: 1.0. 27 Stable tag: 1.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 33 33 = 1.0.2 = 34 34 Made some optimizations 35 35 = 1.0.3 = 36 Made some optimizations 36 37 FAQ: 37 38 … … 53 54 54 55 == Upgrade Notice == 56 = 1.0.3= 57 Made some optimizations 55 58 = 1.0.2= 56 59 Made some optimizations
Note: See TracChangeset
for help on using the changeset viewer.