robuust/craft-commerce-pay

PAY integration for Craft Commerce 4.0+

1.3.0 2024-09-20 06:28 UTC

This package is auto-updated.

Last update: 2024-12-20 06:58:25 UTC


README

PAY for Craft Commerce icon

PAY for Craft Commerce

This plugin provides an official PAY integration for Craft Commerce.

Requirements

This plugin requires Craft 4.0 and Craft Commerce 4.0 or later.

Installation

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your project’s Control Panel and search for “PAY for Craft Commerce”. Then click on the “Install” button in its modal window.

With Composer

Open your terminal and run the following commands:

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require robuust/craft-commerce-pay

# tell Craft to install the plugin
./craft install/plugin commerce-pay

Setup

To add a PAY payment gateway, go to Commerce → Settings → Gateways, create a new gateway, and set the gateway type to “PAY”. More info on the API token, Token code and Service ID can be found here.

Tip: The API token, Token code and Service ID settings can be set to environment variables. See Environmental Configuration in the Craft docs to learn more about that.