PurchaseConfirmationByOrderId

fun PurchaseConfirmationByOrderId(orderId: String, borderStyle: BorderStyle = BorderStyle.SlightRound, colorTheme: CatchColorTheme? = null, styleOverrides: ActionWidgetStyle? = null)

The PurchaseConfirmationByOrderId widget serves the same purpose as the PurchaseConfirmation widget but is to be used for purchases made with Catch's virtual card integration.

Parameters

orderId

The order ID used to create the virtual card checkout for which the purchase confirmation will be displayed.

borderStyle

The BorderStyle that the widget renders. Defaults to the BorderStyle.SlightRound style.

colorTheme

The Catch color CatchColorTheme. If no theme is set, the theme set globally on the Catch object will be used, which defaults to CatchColorTheme.Light.

styleOverrides

Style overrides which can be used to override the widget's default appearance (ex. font size, color, weight, etc.).