Skip to content

PaymentOnAccount Container

Version: 3.0.0-beta3

The PaymentOnAccount container provides the following configuration options:

ParameterTypeReq?Description
initialReferenceNumberstringNo
onReferenceNumberChangefunctionNoCallback function triggered when reference number change
onReferenceNumberBlurfunctionNoCallback function triggered when reference number blur

This container does not expose any customizable slots.

The following example demonstrates how to use the PaymentOnAccount container:

import { render as provider } from '@dropins/storefront-checkout/render.js';
import { PaymentOnAccount } from '@dropins/storefront-checkout/containers/PaymentOnAccount.js';
await provider.render(PaymentOnAccount, {
initialReferenceNumber: "example",
onReferenceNumberChange: onReferenceNumberChange,
onReferenceNumberBlur: onReferenceNumberBlur,
})(block);