Complementary features
Yuno Web SDK provides additional services and configurations you can use to improve customers' experience:
Loader
Control the use of the loader.
Parameter | Description |
---|---|
| You can hide or show the Yuno loading/spinner page. Enabling this option ensures that the loading component remains displayed until either the |
yuno.startCheckout({
showLoading: true,
})
Mode of form rendering
Parameter | Description |
---|---|
| This parameter is optional. It determines the mode in which the payment forms will be displayed.
|
| Required only if the type is
|
yuno.startCheckout({
renderMode: {
/**
* Type can be one of `modal` or `element`
* By default the system uses 'modal'
* It is optional
*/
type: 'modal',
/**
* Element where the form will be rendered.
* It is optional
* Can be a string (deprecated) or an object with the following structure:
* {
* apmForm: "#form-element",
* actionForm: "#action-form-element"
* }
*/
elementSelector: {
apmForm: "#form-element",
actionForm: "#action-form-element"
}
},
})
Below, you will find screenshots presenting the difference between the render modes modal
and elements
for the payment method list.

You also can choose one of the render options for the card form, step
and extends
:

Card form configurations
Parameter | Description |
---|---|
| Define specific settings for the credit card form:
|
yuno.startCheckout({
card: {
type: "extends",
styles: '',
texts: {}
},
})
Text payment form buttons
Parameter | Description |
---|---|
texts | Provide custom text for payment form buttons to match your application's language or branding. |
yuno.startCheckout({
texts: {
customerForm?: {
submitButton?: string;
}
paymentOtp?: {
sendOtpButton?: string;
}
}
})
SDK customizations
Use the SDK Customizations to change the SDK appearance to match your brand.
Updated about 11 hours ago