Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/261.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何从magento api获取付款信息?_Php_Magento_Soap_Magento 1.4_Magento 1.5 - Fatal编程技术网

Php 如何从magento api获取付款信息?

Php 如何从magento api获取付款信息?,php,magento,soap,magento-1.4,magento-1.5,Php,Magento,Soap,Magento 1.4,Magento 1.5,它返回一个数组,它包含一个付款id,因此我可以在哪里传递付款id并获取该订单的付款信息。Magento没有API方法来处理付款,但有一些有用的方法来处理发票-我正在为Magento创建一个quickbook,我想显示该订单的付款信息,所以我用一个MagentoAPI来同步顺序,还有别的方法吗? $proxy = new SoapClient('http://magentolocal.com/mag/api/soap/?wsdl'); $sessionId = $proxy->login('

它返回一个数组,它包含一个付款id,因此我可以在哪里传递付款id并获取该订单的付款信息。

Magento没有API方法来处理付款,但有一些有用的方法来处理发票-

我正在为Magento创建一个quickbook,我想显示该订单的付款信息,所以我用一个MagentoAPI来同步顺序,还有别的方法吗?
$proxy = new SoapClient('http://magentolocal.com/mag/api/soap/?wsdl');
$sessionId = $proxy->login('test', 'test123');
$getorderid = "100000054";
$getdetails = $proxy->call($sessionId, 'sales_order.info', $getorderid);
print_r($getdetails);