(关于stackoverflow的第一篇文章!)
我试图弄清楚如何才能看到已经支付了多少。
$order_paid = $order->getGrandTotal(); <- i know that this is wrong
$order_total = $order->getGrandTotal();
这适用于(后付款)功能,其中订单具有“order_total”价格但“order_paid”字段为 0.00,
我知道我可以在我的模块中通过询问设置订单的付款方式来做到这一点。为了简单起见,我希望 Magento 给我“order_paid”值