BKM Express
pz-bkm provides an integration for BKM Express, allowing users to pay via redirect to the BKM secure payment page during checkout. The component is flexible and supports both default and fully customized rendering.
Installation Method
You can use the following command to install the extension with the latest plugins:
npx @akinon/projectzero@latest --pluginsProps
translations
object
Optional
Object containing translation strings.
classes
object
Optional
Object containing custom CSS class names.
customUIRender
React.ReactNode
Optional
Custom rendering functions.
CustomUIRender Props
handleSubmit
UseFormHandleSubmit<BKMOptionForm>
Required
Form submission handler from `react-hook-form`. Wraps the `handleSubmit` method.
onSubmit
SubmitHandler<BKMOptionForm>
Required
Callback function executed on successful form submission.
control
Control<BKMOptionForm>
Required
Control object used to register form inputs with `react-hook-form`.
errors
FieldErrors<BKMOptionForm>
Required
Contains validation errors for form fields.
translations
BKMOptionProps['translations']
Optional
Optional prop for providing localized strings like title and description.
bkmFrameId
string
Required
The DOM `id` attribute for the embedded BKM iframe element.
Translations Properties
title
string
The title text displayed at the top of the component.
description
string
A short description or informative message for the user.
button
string
Text displayed on the submit button.
required
string
Validation message shown when a required field is empty.
Usage Examples
Default Usage
Customized Usage with Renderer
Last updated
Was this helpful?

