Wordpress WooCommerce自定义的结帐发货信息未保存问题

Wordpress WooCommerce自定义的结帐发货信息未保存问题,wordpress,woocommerce,Wordpress,Woocommerce,我写了一个自定义网站,在那里我自己编写结账表。 支付网关返回成功后,提交的表单包含不同的账单和发货信息,以下是发送至的表单数据请求: radiobill: dif billing_first_name: asdlkflkasf billing_last_name: fdklsjf billing_email: fdssdf@fdsf.com billing_company: billing_address_1: klfdjsfkl billing_address_2: billing_cit

我写了一个自定义网站,在那里我自己编写结账表。 支付网关返回成功后,提交的表单包含不同的账单和发货信息,以下是发送至的表单数据请求:

radiobill: dif
billing_first_name: asdlkflkasf
billing_last_name: fdklsjf
billing_email: fdssdf@fdsf.com
billing_company: 
billing_address_1: klfdjsfkl
billing_address_2: 
billing_city: kdsljfskdlf
billing_country: US
billing_state: CT
billing_postcode: 90876
billing_phone: +358903249034
shipping_first_name: myship
shipping_last_name: myshiplast
shipping_email: test@mysite.com
shipping_company: 
shipping_address_1: pob 52
shipping_address_2: 
shipping_city: new york
shipping_country: US
shipping_state: NY
shipping_postcode: 21614
shipping_phone: 188844433211
shipping_method[0]: flat_rate:1
coupon_code: 
payment_method: stripe
terms: on
terms-field: 1
woocommerce-process-checkout-nonce: ecc50f9256
_wp_http_referer: /?wc-ajax=update_order_review
stripe_source: src_1HWcCqAMQd9xwn9s2lHvq4Zw

订单正在创建中,但它将发货地址和帐单地址设置为相同(只接受帐单地址)。我遗漏了什么?

我只是根据内存进行计算,但应该有一个字段,说明账单地址是否为!=从送货地址。我猜,没有该标志的商业使用计费数据来填充装运数据


字段名称应为“发货至不同地址”。尝试将该标志以“1”的值注入post数据,看看会发生什么