Method | Description | |
---|---|---|
cancelPreAuthorized ( float $paymentSessionId ) : void | Cancel pre authorized payment via GoPay gateway | |
capturePreAuthorized ( float $paymentSessionId ) : void | Capture pre authorized payment via GoPay gateway | |
createPayment ( array $values = [] ) : Markette\Gopay\Entity\PreAuthorizedPayment | Creates new PreAuthorizedPayment with given default values | |
payPreAuthorized ( Markette\Gopay\Entity\PreAuthorizedPayment $payment, string $channel, callable $callback ) : Nette\Application\Responses\RedirectResponse | Executes payment via redirecting to GoPay payment gate | |
payPreAuthorizedInline ( Markette\Gopay\Entity\PreAuthorizedPayment $payment, string $channel, callable $callback ) : array | Executes payment via INLINE GoPay payment gate |
Method | Description | |
---|---|---|
buildPreAuthorizedPayment ( Markette\Gopay\Entity\PreAuthorizedPayment $payment, string $channel ) : integer | Check and create pre authorized payment |
protected buildPreAuthorizedPayment ( Markette\Gopay\Entity\PreAuthorizedPayment $payment, string $channel ) : integer | ||
$payment | Markette\Gopay\Entity\PreAuthorizedPayment | |
$channel | string | |
return | integer |
public cancelPreAuthorized ( float $paymentSessionId ) : void | ||
$paymentSessionId | float | |
return | void |
public capturePreAuthorized ( float $paymentSessionId ) : void | ||
$paymentSessionId | float | |
return | void |
public createPayment ( array $values = [] ) : Markette\Gopay\Entity\PreAuthorizedPayment | ||
$values | array | |
return | Markette\Gopay\Entity\PreAuthorizedPayment |
public payPreAuthorized ( Markette\Gopay\Entity\PreAuthorizedPayment $payment, string $channel, callable $callback ) : Nette\Application\Responses\RedirectResponse | ||
$payment | Markette\Gopay\Entity\PreAuthorizedPayment | |
$channel | string | |
$callback | callable | |
return | Nette\Application\Responses\RedirectResponse |