Method | Description | |
---|---|---|
createPayment ( array $values = [] ) : Markette\Gopay\Entity\Payment | Creates new Payment with given default values | |
pay ( Markette\Gopay\Entity\Payment $payment, string $channel, callable $callback ) : Nette\Application\Responses\RedirectResponse | Executes payment via redirecting to GoPay payment gate | |
payInline ( Markette\Gopay\Entity\Payment $payment, string $channel, callable $callback ) : array | Executes payment via INLINE GoPay payment gate |
Method | Description | |
---|---|---|
buildPayment ( Markette\Gopay\Entity\Payment $payment, string $channel ) : integer | Check and create payment |
protected buildPayment ( Markette\Gopay\Entity\Payment $payment, string $channel ) : integer | ||
$payment | Markette\Gopay\Entity\Payment | |
$channel | string | |
return | integer |
public createPayment ( array $values = [] ) : Markette\Gopay\Entity\Payment | ||
$values | array | |
return | Markette\Gopay\Entity\Payment |