开发者

How to get a payment information from magento api?

开发者 https://www.devze.com 2023-04-01 17:12 出处:网络
$proxy = new SoapClient(\'http://magentolocal.com/mag/api/soap/?wsdl\'); $sessionId = $proxy->login(\'test\', \'test123\');
$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 informatio开发者_运维问答n of that order.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号