Exemplo n.º 1
0
 /**
  * refund.
  *
  * @method refund
  *
  * @param \Recca0120\LaravelPayum\Service\Payum $payumService
  * @param \Illuminate\Http\Request              $request
  * @param string                                $payumToken
  *
  * @return mixed
  */
 public function cancel(PayumService $payumService, Request $request, $payumToken)
 {
     return $payumService->receiveCancel($request, $payumToken);
 }
Exemplo n.º 2
0
 /**
  * capture.
  *
  * @method capture
  *
  * @param \Recca0120\LaravelPayum\Service\Payum $payumService
  * @param \Illuminate\Http\Request              $request
  * @param string                                $payumToken
  *
  * @return mixed
  */
 public function capture(PayumService $payumService, Request $request, $payumToken = null)
 {
     return $payumService->receiveCapture($request, $payumToken);
 }
Exemplo n.º 3
0
 /**
  * payout.
  *
  * @method payout
  *
  * @param \Recca0120\LaravelPayum\Service\Payum $payumService
  * @param \Illuminate\Http\Request              $request
  * @param string                                $payumToken
  *
  * @return mixed
  */
 public function payout(PayumService $payumService, Request $request, $payumToken)
 {
     return $payumService->receivePayout($request, $payumToken);
 }
Exemplo n.º 4
0
 /**
  * refund.
  *
  * @method refund
  *
  * @param \Recca0120\LaravelPayum\Service\Payum $payumService
  * @param \Illuminate\Http\Request              $request
  * @param string                                $payumToken
  *
  * @return mixed
  */
 public function refund(PayumService $payumService, Request $request, $payumToken)
 {
     return $payumService->receiveRefund($request, $payumToken);
 }
Exemplo n.º 5
0
 /**
  * notifyUnsafe.
  *
  * @method notifyUnsafe
  *
  * @param \Recca0120\LaravelPayum\Service\Payum $payumService
  * @param string                                $gatewayName
  *
  * @return mixed
  */
 public function notifyUnsafe(PayumService $payumService, $gatewayName)
 {
     return $payumService->receiveNotifyUnsafe($gatewayName);
 }
Exemplo n.º 6
0
 /**
  * authorize.
  *
  * @method authorize
  *
  * @param \Recca0120\LaravelPayum\Service\Payum $payumService
  * @param \Illuminate\Http\Request              $request
  * @param string                                $payumToken
  *
  * @return mixed
  */
 public function authorize(PayumService $payumService, Request $request, $payumToken)
 {
     return $payumService->receiveAuthorize($request, $payumToken);
 }
Exemplo n.º 7
0
 /**
  * sync.
  *
  * @method sync
  *
  * @param \Recca0120\LaravelPayum\Service\Payum $payumService
  * @param \Illuminate\Http\Request              $request
  * @param string                                $payumToken
  *
  * @return mixed
  */
 public function sync(PayumService $payumService, Request $request, $payumToken)
 {
     return $payumService->receiveSync($request, $payumToken);
 }