自定义订单后 - > save()不返回并停止在magento中执行
我的代码如下:
$order->setPartnerWarehouse($wareHouse);
$order->setTradingPartner($businessType);
$order->setPartnerOrderId($partnerOrderId);
$order->setWarehouse($wareHouse);
$order->setCustomerOrderNumber($customerOrderNumber);
$order->setPickupDate($pickup->datetime);
$order->setPickupMethod($pickup->description);
$order->setPartnerShipmentMethod($pickup->code);
$order->save();
$icn = rand(100000000, 999999999);
$edi = generateResponse_855($order, $icn);
echo $edi;
订单保存后我无法退货,有什么事,请建议