我将从结帐页面填充的以下字段传递给 PayPal。
'SHIPTOSTREET'
'SHIPTOSTREET2'
'SHIPTOCITY'
'SHIPTOSTATE'
'SHIPTOZIP'
'SHIPTOCOUNTRYCODE'
是否可以选择将送货地址和账单地址同时传递给 PayPal。?
'SHIPTOSTREET' => WC()->customer->get_billing_address(),
'SHIPTOSTREET2' => WC()->customer->get_billing_address_2(),
'SHIPTOCITY' => WC()->customer->get_billing_city(),
'SHIPTOSTATE' => WC()->customer->get_billing_state(),
'SHIPTOZIP' => WC()->customer->get_billing_postcode(),
'SHIPTOCOUNTRYCODE' => WC()->customer->get_billing_country(),
使用 Express Checkout,PayPal 只能使用一个地址。这是 PayPal Checkout 为买家带来的好处之一......他们不必与他们购买的所有不同卖家共享任何实际账单信息。
如果您使用 PayPal Pro 或 Braintree(直接 CC 处理),那么您将能够将帐单和运费发送到 PayPal。账单将用于地址验证目的,显然,运输将用于运输。当然,通常建议您只运送到 AVS 匹配的地址,这样两者就相同了。
所以简短的回答是否定的,您不能在 Express Checkout 中传递账单地址,但这不是必需的。
我是一名优秀的程序员,十分优秀!