Commerce Mycelium Gear
Categories
Component ID
2773081
Component name
Commerce Mycelium Gear
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Integrate Bitcoin as a payment option in Drupal Commerce using Mycelium Gear.
Sponsored and maintained by UpgradeYa
Features
- Complete checkout from your own site, or redirect to a more robust payment page hosted by Mycelium.
- Supported devices: computer, tablet, or smartphone.
- Pay by address, QR code, or tap-to-pay.
- Checkout auto completes once transaction is verified on the blockchain.
- For security, only IPN callbacks are used to complete orders to help prevent fraud.
Requirements
- Drupal Commerce
- cURL for PHP - the Commerce Mycelium Gear module will check for proper cURL installation and report an error if corrective action is required.
Setup
Create Mycelium Account
- Create an account with Mycelium Gear.
- Create a gateway.
- Set the "Callback url" field to http://[yourdomain.com]/mycelium/callback. For example
http://example.com/mycelium/callback - Set the "After payment redirect to" field to http://[yourdomain.com]/mycelium/checkout/complete. For example
http://example.com/mycelium/checkout/complete - Ensure the "Auto redirect" checkbox is checked.
- Ensure the "Active" checkbox is checked.
- Export and enter a BIP32 pubkey from your Electrum or Mycelium wallet. This is the Bitcoin wallet payments will be made to.
- Make sure when you create your gateway, you save the secret id.
- Set the "Callback url" field to http://[yourdomain.com]/mycelium/callback. For example
Module Configuration
- After you download and enable the Commerce Mycelium Gear module, navigate to the store's payment methods to configure the module's settings.
- Set the Gateway Secret. This is provided by Mycelium the first time you create your gateway.
- Set the Gateway ID. This can be found in your Mycelium gateway settings.
- Select the checkout redirect mode. The hosted payment from Mycelium option is the recommended way to use this module. It provides the most security, uses the latest API code, and supports mobile devices.
- Enable the "Mycelium Gear - Bitcoin" payment method.
