/** * @param Order $order Order to process payment for. * * @return string URL to redirect to. * @throws Exception On any payment error. */ public function process($order) { $order->setStatus(Order\Status::PROCESSING, __('Payment on delivery.', 'jigoshop')); $this->orderService->save($order); return ''; }
/** * @param Order $order Order to process payment for. * * @return string URL to redirect to. * @throws Exception On any payment error. */ public function process($order) { $order->setStatus(Order\Status::ON_HOLD, __('Waiting for cheque to arrive.', 'jigoshop')); $this->orderService->save($order); return ''; }
/** * @param Order $order Order to process payment for. * * @return string URL to redirect to. * @throws Exception On any payment error. */ public function process($order) { $order->setStatus(Order\Status::ON_HOLD, __('Waiting for the confirmation of the bank transfer.', 'jigoshop')); $this->orderService->save($order); return ''; }