@stripe/stripe-terminal-react-native
Preparing search index...
QrCodeDisplayHandler
Type Alias QrCodeDisplayHandler
QrCodeDisplayHandler
:
(
paymentIntent
:
PaymentIntent
.
Type
,
qrData
:
QrCodeDisplayData
,
callback
:
{
confirmQrCodeDisplayed
:
()
=>
Promise
<
{
error
?:
StripeError
}
>
;
failQrCodeDisplay
:
(
error
?:
string
)
=>
Promise
<
{
error
?:
StripeError
}
>
;
}
,
)
=>
void
Handler for QR code display events. Called when the SDK needs to display a QR code for payment.
Type Declaration
(
paymentIntent
:
PaymentIntent
.
Type
,
qrData
:
QrCodeDisplayData
,
callback
:
{
confirmQrCodeDisplayed
:
()
=>
Promise
<
{
error
?:
StripeError
}
>
;
failQrCodeDisplay
:
(
error
?:
string
)
=>
Promise
<
{
error
?:
StripeError
}
>
;
}
,
)
:
void
Parameters
paymentIntent
:
PaymentIntent
.
Type
qrData
:
QrCodeDisplayData
callback
:
{
confirmQrCodeDisplayed
:
()
=>
Promise
<
{
error
?:
StripeError
}
>
;
failQrCodeDisplay
:
(
error
?:
string
)
=>
Promise
<
{
error
?:
StripeError
}
>
;
}
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@stripe/stripe-terminal-react-native
Loading...
Handler for QR code display events. Called when the SDK needs to display a QR code for payment.