예제 #1
0
 /**
  * @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 '';
 }
예제 #2
0
 /**
  * @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 '';
 }
예제 #3
0
 /**
  * @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 '';
 }