本文介绍了php fedex 设置签名标签成人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在 wordpress 网站上工作并使用 woocommerce 扩展http://www.woothemes.com/products/fedex-shipping-module/
I am working on wordpress site and using woocommerce extension http://www.woothemes.com/products/fedex-shipping-module/
我正在将值签名值传递给成年人.但它不起作用
请指正我错的地方
$request['RequestedShipment']['RateRequestTypes'] = $this->request_type;
$request['RequestedShipment']['PackageDetail'] = 'INDIVIDUAL_PACKAGES';
$request['RequestedShipment']['SpecialServicesRequested'][] = array(
'SpecialServiceTypes' => 'SIGNATURE_OPTION',
'SignatureOptionDetail' => array(
'OptionType' => 'ADULT'
)
);
`
我是否需要从 RateService_v13.wsdl 文件中更改某些内容
Do i need to change something from the from the RateService_v13.wsdl file
请推荐
谢谢
推荐答案
我解决了这个问题
对于有相同问题的其他用户可以通过以下代码解决此问题
For further user having the same issue can resolve this by below code
$item['SpecialServicesRequested'] = array(
'SpecialServiceTypes' => 'SIGNATURE_OPTION',
'SignatureOptionDetail' => array(
'OptionType' => 'ADULT'
)
);
$request['RequestedShipment']['RequestedPackageLineItems'][] = $item;
这篇关于php fedex 设置签名标签成人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!