Magento 2

Accept blockchain payments on your Magento-based e-commerce site with BitPay's open source Plugin.

Integration Requirements

Plugin Installation

  1. Upload all files to your Magento 2 installation root
  2. Login to your server, and in the root of your Magento 2 install, run the following commands:
    • php bin/magento setup:upgrade
    • php bin/magento module:enable BitpayCheckout_BPCheckout
    • php bin/magento setup:static-content:deploy -f
  3. Flush your Magento 2 Caches
    • php bin/magento cache:flush

You can now activate BitPay in the Sales->Configuration->Sales->Payment Methods

Plugin Configuration

After you have installed the BitPay plugin, the configuration steps are:

Authentication

  1. In your Magento Admin panel, go to the Stores > Configuration > Sales >
    Payment Methods section.
    a. Select the correct endpoint - Test or Production
    b. You must explicitly select the countries you want to support.
    c. Select any configuration preferences for order processing
    d. Click on the Save Config at the top of the page
  2. In a secure location on your server that is accessible to the module but not
    publicly accessible over the internet, you’ll need to create a folder to store your
    key file (for example, app/secure)
  3. Create a new empty file for your private key in the folder created above (for
    example, private.key) which will have its content updated in step 4
  4. Login to the Magento admin, and go to Stores > Configuration > BitPay >
    Merchant Facade
    a. Open the Authenticate accordion
    b. Click on the Add new token button:
    i. Add a token label (for instance: Magento 2)
    ii. Add a password
    iii. Add the full path to your private key folder and file as created in

Order Fulfillment

This plugin also includes an IPN (Instant Payment Notification) endpoint that will
update your Magento order status. An order note will automatically be added with a link
to the BitPay invoice (will open in a new window):

  • Initially your order will be in a Pending status when it is initially created
  • After the invoice is paid by the user, it will change to a Processing status
  • After the BitPay invoice status switches to confirmed, the magento order will
    be set to Complete.
  • If you refund a BitPay invoice from your BitPay merchant dashboard, the Magento
    order will change to Closed once the refund is processed by BitPay

Documentation

A link to the latest up to date User Manual can be found on the Adobe Marketplace page for the module: https://commercemarketplace.adobe.com/bitpay-module-bpcheckout.html