Setup and Configuration
Setup¶
This extension replaces the uk.co.circleinteractive.payment.bitcoin extension. Uninstall that extension before installing this one.
- Enable the bitpay extension in CiviCRM.
- Go to the CiviCRM system status page and ensure that there are no missing requirements for the bitpay extension:
Create an account¶
If you don't already have a bitpay account:
Live: https://bitpay.com¶
- Create an account.
- Verify the account.
Test: https://test.bitpay.com¶
- Create an account.
- Verify the account.
Create an API token¶
You need to login to your account at bitpay to create an API token for use with the CiviCRM extension.
Live: https://bitpay.com/dashboard/merchant/api-tokens¶
Test: https://test.bitpay.com/dashboard/merchant/api-tokens¶
- Follow the instructions there to create a new API token.
- Make sure "Require Authentication" is enabled.
- Make a note of the pairing key.
Enable extension¶
- Create a new payment processor of type "Bitpay".
- Enter a "Private Key decryption password" of your choice.
- Enter any value for "API Key" - we don't use this.
- Don't enter anything for "Pairing token".
- Make a note of the payment processor ID (and the test ID) (see info here for how to find this: https://docs.civicrm.org/sysadmin/en/latest/setup/payment-processors/recurring/ - you can see the ID of the live processor by hovering over the edit link for that processor)
Pair with Bitpay API¶
- Run CiviCRM API Bitpay.createkeys with parameters:
- payment_processor_id={id}
- Run CiviCRM API Bitpay.pair with parameters:
- payment_processor_id={id}
- pairingkey={pairing key you created at bitpay earlier}
Troubleshooting¶
If you have trouble installing after uninstalling uk.co.circleinteractive.payment.bitcoin you can try running:
API bitpay.checkinstall
This will check that the new extension has everything it needs to function.