Payment-method icon

Bizum Component

Add Bizum to an existing Components integration.

This page explains how to add Bizum to your existing Web Components integration.

Requirements

Requirement Description
Integration type Make sure that you have built your Components integration.
Setup steps Before you begin:

API reference

Select which endpoint you are using:

The /sessions workflow is the default with Components v5.0.0 or later.

Parameter name Required Description
reference -white_check_mark- Your unique reference for the payment.
Your reference can include upper and lower case alphanumeric characters and must be between 4 and 125 characters long, matching the following regular expression: ^[a-zA-Z0-9]{4,125}$)

Component configuration

Step 1: Create a DOM element

Create a DOM element on your checkout page, placing it where you want the payment method form to be rendered:

Copy code
 <div id="bizum-container"></div>

Step 2: Create an instance of the Component

v6.0.0 or later

Create an instance of the Component, passing:

  • Your instance of AdyenCheckout.
Copy code
const bizum = new Redirect(checkout, { type: 'bizum' }).mount('#bizum-container');

Use the create method of your AdyenCheckout instance, in this case checkout, to create the Component:

Copy code
const bizumComponent = checkout.create('bizum').mount('#bizum-container');

Test and go live

To test Bizum payments:

  • Use telephoneNumber: 700 000 000.

  • Note that the payments amount value determines the outcome:

    Amount Outcome
    Less than 15 Payment is authorized
    From 15 to 50 Payment is refused
    From 50 to 1000 Payment is authorized
    More than 1000 Payment is refused
  • Check the status of Bizum test payments in your Customer Area > Transactions > Payments.

See also