Payment-method icon

Multibanco Component

Add Multibanco to an existing Components integration.

This page explains how to add Multibanco to your existing Components integration.

Multibanco payment references are valid until the end of the expiry day. For example, if a payment reference is generated at 13:30 and the expiry date is D+1 (next day), the payment reference is payable until 23:59 on the next day.

Requirements

Select the server-side flow that your integration uses:

Import resources for v6

If you are using Web Components v6, import the Component that you need for Multibanco:

import { AdyenCheckout, Multibanco } from '@adyen/adyen-web'

API reference

You do not need to send additional fields for Multibanco. To see optional fields that you can send for all payment methods, choose the endpoint you integrated:

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:

 <div id="multibanco-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.
const multibanco = new Multibanco(checkout).mount('#multibanco-container');

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

const multibancoComponent = checkout.create('multibanco').mount('#multibanco-container');

Test and go live

Before you can test Multibanco payments, you need to submit a request for Multibanco in your test Customer Area.

In the test environment, you can simulate a Multibanco payment by promoting the pending payment to a sale.

  1. Log in to your test Customer Area.
  2. Go to Transactions > Offers.
  3. Select the PSP reference of the pending Multibanco payment.
  4. Select Promote offer to sale button.

Multibanco payments that have been paid (including test offers that you manually promoted to sale) are under Transactions > Payments.

Test the reconciliation process by promoting test payments from offer to sale in your test Customer Area.

Before you can accept live Multibanco payments, you need to submit a request for Multibanco in your live Customer Area.