gpt4 book ai didi

wordpress - 将 WooCommerce 账单地址和送货地址传递给 Paypal

转载 作者:太空宇宙 更新时间:2023-11-03 15:57:32 25 4
gpt4 key购买 nike

我将从结帐页面填充的以下字段传递给 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 中传递账单地址,但这不是必需的。

关于wordpress - 将 WooCommerce 账单地址和送货地址传递给 Paypal,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57110262/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com