简体   繁体   English

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

[英]How to get a payment information from 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. 它返回一个数组,它包含一个payment_id,所以我可以在哪里传递payment_id并获得该订单的付款信息。

Magento没有API方法来处理付款,但有一些有用的方法可以使用发票 - http://www.magentocommerce.com/wiki/doc/webservices-api/api#mage_sales

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM