Skip to content
ArionPay

Magento 2 module

Accept crypto payments in Magento 2

A Magento 2 module that adds a crypto payment method to your checkout. Customers pay on the ArionPay page, and the money is paid straight to your own wallet.

Example

What it does

ArionPay for Magento 2

ArionPay for Magento 2 adds the payment method "Crypto (Bitcoin, USDT and more)" to the Magento checkout. Place Order saves the order as Pending Payment and sends the customer to the ArionPay page.
Read moreWhen ArionPay confirms the full payment, Magento records the capture with the blockchain transaction id, creates the invoice and moves the order to Processing. ArionPay never holds the money: it goes to the wallet connected to your ArionPay store.
  • No order email until the order is paid, then the order and invoice emails go out
  • Magento records the capture with the blockchain transaction id and creates the invoice
  • Nothing to paste into ArionPay: each invoice says where to send its updates
  • The API secret and webhook signing secret are stored encrypted
  • A status page with a "Pay now with crypto" button if the customer left the payment page
  • An order edited after checkout is not marked paid
  • Test mode with pretend money, on by default
Example

Requirements and licence

Works with
Magento Open Source and Adobe Commerce 2.4, Mage-OS · PHP 7.4 or newer (2.4.7 and later need PHP 8.2+)
Tested
Magento 2.4.9 (PHP 8.3, MariaDB, OpenSearch 2.19, Luma checkout)
Cost
The plugin is free. ArionPay charges 0.5% per payment, with no monthly fee.
Source
Open source (MIT) on GitHub, version 1.0.0.

Setup

Set it up in 5 steps

Settings: Stores > Configuration > Sales > Payment Methods > ArionPay (crypto)
  1. Step 1

    Copy the module

    Unzip arionpay-magento2.zip in your Magento folder. It creates app/code/ArionPay/Payment.

  2. Step 2

    Run the setup commands

    Run bin/magento module:enable ArionPay_Payment, then setup:upgrade and cache:flush. In production mode, also run setup:di:compile and setup:static-content:deploy.

  3. Step 3

    Paste your keys

    In Stores > Configuration > Sales > Payment Methods > ArionPay (crypto), paste the API key (pk_), API secret (sk_) and webhook signing secret (whsec_). Set Enabled to Yes and save.

  4. Step 4

    Place a test order

    Keep Test mode on, choose Crypto (Bitcoin, USDT and more) at checkout and use the test payment buttons on the ArionPay page. The order should go from Pending Payment to Processing.

  5. Step 5

    Turn test mode off

    Turn Test mode off before you take real payments. In your ArionPay store settings, Old ArionPay (v1) integration compatibility must be off.

After the setup

How orders change

  • Place Order saves the order as Pending Payment, with no order email yet.
  • When ArionPay confirms the full payment, Magento creates the invoice, moves the order to Processing and sends the order and invoice emails.
  • The order is paid only if the invoice still matches it: same currency and same total. An edited order gets a comment instead.
  • A payment that is not exact goes to Payment Radar. A small difference inside your store's payment tolerance (default 1%) is accepted automatically; anything else you decide.
  • A late payment still pays the order, with a comment. More money after an order was paid only adds a comment asking you to check your wallet.
  • Coming back from the payment page never marks an order paid.

16 coins and tokens on 9 networks

All coins
  • BTCBitcoin
  • ETHEthereum
  • USDTEthereum
  • USDCEthereum
  • BNBBNB Smart Chain
  • USDTBNB Smart Chain
  • USDCBNB Smart Chain
  • POLPolygon
  • USDTPolygon
  • USDCPolygon
  • TRXTRON
  • USDTTRON
  • LTCLitecoin
  • DOGEDogecoin
  • BCHBitcoin Cash
  • DASHDash

Questions about ArionPay for Magento 2

Short answers before you install it.

Magento Open Source and Adobe Commerce 2.4, and Mage-OS, with PHP 7.4 or newer (Magento 2.4.7 and later need PHP 8.2+). It was tested on Magento 2.4.9 with PHP 8.3 and the Luma checkout.