rocapayofficial/rocapay-magento2-payment-gateway

RocaPay Payment Gateway integration for Magento 2

v1.0.0 2020-01-13 15:23 UTC

This package is auto-updated.

Last update: 2024-04-14 02:08:17 UTC


README

This payment gateway integration enables you to use RocaPay with Magento 2.

Installation

Composer

To get the latest version of the gateway through Composer, run the command:

composer require rocapayofficial/rocapay-magento2-payment-gateway

Direct Download

You can also download the gateway as a TAR File. Then, run the following commands in your installation's root directory:

cd app/code
mkdir -p Rocapay/RocapayPaymentGateway
tar -zxvf rocapay-magento2-payment-gateway-master.tar.gz

Configuration

First, you have to sign up for a RocaPay account.

Then, you have to create a widget and put in YOUR_DOMAIN/rocapay/payment/callback in the Postback URL field.

After that, enable the gateway by running this in your installation's root directory:

php bin/magento module:enable Rocapay_RocapayPaymentGateway --clear-static-content
php bin/magento setup:upgrade

Finally, copy the API key, provided under the implementation tab of your newly created widget, to the payment's gateway configuration menu in the admin panel (Stores / Configuration / Sales / Payment Methods / RocaPay).