更改订单状态后,状态保持'pending_payment' vivawallet 支付模块

问题描述

我开始通过 vivawallet 支付系统工作,并注意到在将订单转移到发货状态或创建发票或关闭订单后,订单仍处于“pending_payment”状态。

这个模块是公开可用的: https://github.com/VivaPayments/API/tree/master/Plugins/magento/magento23_vivawallet/Ced/VivaPayments

查看模块的内容后,我发现该模块没有很多功能,例如在 PayPal 中。 也就是说,没有人实现在开启器中操作后更改订单状态的能力。该模块被视为在线。

目前,我注意到为了使状态更改正常工作,需要一些方法

    public function canCapture()
    {
        return $this->_order->getState() === 'pending_payment';
    }
    public function capture()
    {
        // change order status and state
        // go to gateway and get payment status
    }

请帮我解决这个问题

enter image description here

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)