我打电话给Prestashop网络服务这样的请愿:
<?xml version="1.0" encoding="UTF-8"?>
<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
<order>
<id_address_delivery>1999</id_address_delivery>
<id_address_invoice>1999</id_address_invoice>
<id_cart>12102</id_cart>
<id_currency>1</id_currency>
<id_lang>1</id_lang>
<id_customer>1728</id_customer>
<id_carrier>282</id_carrier>
<module>cheque</module>
<payment>NTPM</payment>
<total_discounts>0</total_discounts>
<total_paid>4.7999996</total_paid>
<total_paid_real>4.7999996</total_paid_real>
<total_products>4.7999996</total_products>
<total_products_wt>4.363636</total_products_wt>
<conversion_rate>1</conversion_rate>
<associations>
<order_rows>
<order_row>
<product_id>12</product_id>
<product_quantity>1</product_quantity>
</order_row>
</order_rows>
</associations>
</order>
</prestashop>
我已经检查过如果我发送所有字段,则会返回相同的错误。只有:
Fatal error
存在购物车,地址,客户和产品。该文章在购物车中是相同的,并且是活跃的,也有库存。
Prestashop版本为1.6。
答案 0 :(得分:0)
今天我遇到了同样的错误,我们的解决方案是在购物车中设置已创建客户的ID以及secure_key。因为PaymentModule类在创建订单之前检查来自customer和content-&gt; cart-&gt; secure_key字段的secure_key是否匹配。
我希望这些可以提供帮助。