# Redefining "Pay later" methods

Mollie supports a few "Pay later" methods which require changes in the payment flow (opens new window).

Unfortunately, the endpoint returning a list of available payment methods doesn't include information on whether the method is a Pay Later type. For this reason, there's an array of Pay Later methods that contain default methods. You can override it, but keep in mind that when Mollie introduces a new method, you must add it to the array.

By default, the following payment methods are a "Pay Later" type:

const defaultPayLaterMethods = [
  'klarnapaynow',
  'klarnapaylater',
  'klarnasliceit'
];

You can overwrite these defaults by providing a payLaterMethods array to the configuration object:

// middleware.config.js
module.exports = {
  integrations: {
    mollie: {
      location: '@vsf-enterprise/mollie-commercetools/server',
      configuration: {
        // ...
        payLaterMethods: [
          // Defaults
          'klarnapaynow',
          'klarnapaylater',
          'klarnasliceit',
          // New one
          'new-mollie-pay-later-payment-method-xyz123'
        ]
      }
    }
  }
};