Widget properties
The product and checkout widgets both support the following properties.
merchantId
merchantIdConstant, provided by Raylo.
Type: string.
JWTToken
JWTTokenJWT value created by your backend, with the right properties to render the widget.
Type: string.
onPriceLoaded
onPriceLoadedCallback invoked by the widgets when a price is loaded. The values are formatted as £0 or £0.00.
Type:
function({
initialAmount: string,
recurringAmount: string
}) : voidonWidgetLoaded
onWidgetLoadedCallback invoked by the widgets when the widget is loaded and dimensions are known.
Type:
onCheckoutUnavailable
onCheckoutUnavailableCallback invoked by the widgets when checkout with Raylo Pay is not available for the provided JWT.
Type:
Last updated
Was this helpful?