ui/payment_options/embedded_payorc_payment_widgets library

Classes

PayorcEmbeddedApplePayButton
Native Apple Pay button for embedding in your layout.
PayorcEmbeddedGooglePayButton
Native Google Pay button for host screens — does not pop Navigator on result.
PayorcEmbeddedPaymentCheckout
All-in-one: native wallets + tiles matching sheet ordering.
PayorcEmbeddedPaymentCheckoutBody
Composable checkout body (PayorcEmbeddedPaymentCheckout wraps it with SDK theme).
PayorcEmbeddedPaymentMethodTiles
Tiles for non-wallet rails in checkout sequence, using PayorcEmbeddedTabbyButton (one tap opens Tabby) and Samsung select + Confirm (sheet-style).
PayorcEmbeddedTabbyButton
Embedded Tabby (BNPL) row for host layouts — one tap starts Tabby init, SDK session, and WebView checkout via TabbyConfirmBloc.
PayorcEmbeddedTabbyButtonScene

Functions

effectiveApplePayJson(PaymentRequest paymentRequest) String?
Same sourcing as _PaymentOptionsSceneState._applePayConfigJson.
effectiveGooglePayJson(PaymentRequest paymentRequest) String?
Same sourcing as _PaymentOptionsSceneState._googlePayConfigJson.
payorcEmbeddedConfirmButton({required VoidCallback onPressed, PayorcEmbeddedCustomization? style}) Widget
Standalone Confirm for Samsung (after payorcEmbeddedSamsungPayTile selection).
payorcEmbeddedOpenPayWithCard({required BuildContext context, required PaymentRequest checkoutRequest, PaymentRequest? addCardRequest, PayorcEmbeddedCustomization? style, void onNewCardAdded(CardData input)?, void onSuccessPayment(BuildContext submittingContext, Map<String, dynamic> merchantResponse)?, void onPaymentFailed(BuildContext submitModalContext, String message, {String? code})?, VoidCallback? onRetryPayment}) Widget
Same behavior as selecting “Pay with Card” on the sheet, then running PayOrc.submitOrder after the user enters card details.
payorcEmbeddedSamsungPayTile({required VoidCallback onPressed, bool isSelected = false, PayorcEmbeddedCustomization? style}) Widget
Samsung Pay tile — tap selects Samsung; host onSamsungPay runs after Confirm (sheet flow).
payorcEmbeddedTabbyTile({required VoidCallback onPressed, bool isSelected = false, PayorcEmbeddedCustomization? style}) Widget
Tabby tile when Tabby is enabled (API key + checkout customization).