Install the payment module

To begin using the payment-method app, 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 payment-method app sets up Commerce for you automatically as part of installation, using an App Management custom installation step.

Install

Installing the app creates a demo payment method, Method one, using the /V1/oope_payment_method REST endpoint, so you can try out out-of-process payment validation right away.

Uninstall

Uninstalling the app disables this payment method via the same endpoint, so it immediately stops appearing as a payment option at checkout. Orders that were already placed with it aren't affected. If you install the app again later, the same payment method is turned back on instead of being created again.