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

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

问题描述:

$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);

it is return an array, it contain a payment_id,so where can i pass a payment_id and get a payment information of that order.

  $ 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); 
  code>  pre> 
 
 

它返回一个数组,它包含一个payment_id,所以我在哪里可以通过 pay_id并获取该订单的付款信息。 p> div>

Magento don't have API methods to work with payments, but there is some usefull methods to work with invoices - http://www.magentocommerce.com/wiki/doc/webservices-api/api#mage_sales