Skip to content

RequestPaymentResult

Returned by every driver's initiate() method.

Properties

PropertyTypeDescription
flowPaymentFlowThe payment flow type for this driver
valuemixedThe primary value to act on — URL, QR string, or app payload depending on the flow
originalValuemixedThe raw gateway value — same as value for redirect/QR/app flows; ['url' => string, 'data' => array] for form-based flows
transactionIdstringYour order/transaction identifier
rawarrayRaw gateway response

Methods

MethodReturnsDescription
isRedirectBased()booltrue when flow is PaymentFlow::RedirectBased
isFormBased()booltrue when flow is PaymentFlow::FormBased
isQrBased()booltrue when flow is PaymentFlow::QrBased
isAppBased()booltrue when flow is PaymentFlow::AppBased

PaymentFlow

CaseValueUsed by
PaymentFlow::RedirectBasedredirectWave Money, KBZ Pay PWA
PaymentFlow::FormBasedformAYA Pay, CyberSource
PaymentFlow::QrBasedqrKBZ Pay QR
PaymentFlow::AppBasedappKBZ Pay App