Install the payment module

To begin using the payment module with the checkout starter kit, ensure that you have completed the getting started and configuration steps.

For more ideas on how you can use the payment module, refer to payment use cases.

Prerequisites

Installation

data-src=/_includes/checkout-version.md

To enable out-of-process payment methods in Commerce, install the magento/module-out-of-process-payment-methods module using the following command:

composer require magento/module-out-of-process-payment-methods --with-dependencies

Configuration

data-src=/_includes/checkout-configuration.md

The starter kit provides the create-payment-methods script to help configure Adobe Commerce. It reads the payment methods configuration from the payment-methods.yaml file and creates the payment methods in Adobe Commerce.

To run this script, use the following command:

npm run create-payment-methods