【问题标题】:MAGENTO API SOAP V2 SalesOrder Checkout CommentMAGENTO API SOAP V2 SalesOrder Checkout Comment
【发布时间】:2015-12-17 10:11:31
【问题描述】:

我正在寻找一种使用 SOAP V2 从结帐中获取评论的方法。 salesOrderEntity 中没有字段,也没有存储在 salesOrderStatusHistoryEntity 中。

非常感谢!

问候,戈特弗里德

【问题讨论】:

  • 请告诉我们您到目前为止所做的尝试。

标签: magento soap comments checkout


【解决方案1】:

您是否尝试过其他调用,也许是 salesOrderInfo? 这是一些示例代码和部分结果

$proxy = new SoapClient('http://whatever.com/api/v2_soap/?wsdl');
$sessionId = $proxy->login((object)array('username' => 'userName', 'apiKey' => 'ahardpasswordGoeshere'));
$result = $proxy->salesOrderInfo((object)array('sessionId' => $sessionId->result, 'orderIncrementId' => '300020318'));
echo '<pre>';
print_r($result);
echo '</pre>';

【讨论】:

  • 嗨,我试过了,但我认为我们的结帐扩展程序将评论存储在不同的地方。我将不得不查看数据库。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多