Skip to content

Magento 2 Binance Pay Integration Module – Easily integrate Binance Pay as a payment gateway in your Magento 2 store.

License

Notifications You must be signed in to change notification settings

tomk1v/binance-pay-module

Repository files navigation

Binance Pay Integration for Magento 2

Overview

The module provides integration with the Binance Pay payment gateway, enabling Magento 2 stores to accept payments through BinancePay. This module allows customers to use the BinancePay payment method during checkout, offering a seamless and secure payment experience. Additionally, the module supports refund functionality, allowing store administrators to process refunds directly from the Magento admin panel.

Features

  • Integrates Binance Pay as a payment method in Magento 2. image
  • Secure payment transactions with webhook integration. image
  • Handles payment success and error cases. image
  • Asynchronous processing using RabbitMQ for smooth payment workflows.
  • Refund functionality

Requirements

  • Magento 2.4.x
  • PHP 8.2 or higher
  • Binance Pay merchant account
  • RabbitMQ installed and configured

Installation

  1. Clone or Download the Module

    Download the module from the repository and place it in the Magento 2 app/code/Internship/BinancePay directory.

  2. Enable the Module

    Run the following commands to enable the module:

    bin/magento module:enable Internship_BinancePay
    bin/magento setup:upgrade
    bin/magento setup:di:compile
    bin/magento setup:static-content:deploy -f
    

Configuration

  1. Go to the Magento Admin Panel: Navigate to Stores > Configuration > Sales > Payment Methods.
  2. Configure BinancePay Settings: Locate the BinancePay section and configure the settings. Screenshot 2024-10-18 at 1 53 09 PM

Webhook Setup

To ensure that your Magento 2 store can handle payment notifications from Binance Pay, you need to set up a webhook in the Binance Pay developer dashboard:

Go to the Binance Pay Developer Dashboard:

Navigate to the Binance Pay Developer Dashboard and select the Webhooks section.

Add a new webhook with the following URL:

https://<your-magento-domain>/binancepay/checkout/webhook

Replace <your-magento-domain> with your actual Magento domain. This URL will handle incoming payment notifications from Binance Pay.

Make sure RabbitMQ is installed and configured in your Magento 2 environment. Start the Magento Consumer for Order Creation:

bin/magento queue:consumers:start binance.order.creation &

Support

For support or questions, please contact the author:

Author: Andrii Tomkiv
Email: [email protected]

License

LICENSE. For more information, see the LICENSE file.

About

Magento 2 Binance Pay Integration Module – Easily integrate Binance Pay as a payment gateway in your Magento 2 store.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published