WHMCS plugin for BitPay.com
©2012 BIT-PAY LLC. Permission is hereby granted to any person obtaining a copy of this software and associated documentation for use and/or modification in association with the bitpay.com service.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Bitcoin payment module using the bitpay.com service.
Extract these files into your whmcs directory (parent directory of modules/ folder)
- Check that you have set your Domain and WHMCS System URL under whmcs/admin > Setup > General Settings
- Create an API Key in your bitpay account at bitpay.com.
- In the admin control panel, go to "Setup" > "Payment Gateways", select "Bit-pay" in the list of modules and click Activate.
- Enter your API Key from step 1.
- Choose a transaction speed (refer to bitpay's help section for more information about these choices).
- If you see the "Convert To For Processing" option, choose a currency that is accepted by Bit-pay (e.g. BTC/USD/CAD).
- If you see the option but such a currency does not appear here, or if don't see the option and you are currently accepting a currency that is not accepted by Bit-pay:
a. Click "Save Changes."
b. Create an accepted currency (e.g. USD/BTC/CAD) by going to "Setup" > "Currencies," filling out the form and clicking "Add Currency"
note: You will have to update the conversion rate manually for BTC, so it's advisable here to choose your local currency over BTC since the BTC exchange rate update can be automated for your local currency. c. Return to "Setup" > "Payment Gateways" and choose this new currency for the "Convert To For Processing" setting.
- Click "Save Changes."
When a client chooses the Bit-pay payment method, they will be presented with an invoice showing a button to pay the order. Upon requesting to pay their order, the system takes the client to a bitpay.com invoice page where the client is presented with bitcoin payment instructions. Once payment is received, a link is presented to the shopper that will return them to your website.
In your Admin control panel, you can see the information associated with each order made via Bit-pay ("Orders" > "Pending Orders"). This screen will tell you whether payment has been received by the bitpay servers.
Note: This extension does not provide a means of automatically pulling a current BTC exchange rate for presenting BTC prices to shoppers. If you want to have a BTC currency in your installation, you must update the exchange rate manually.
Version 1 - Initial version, tested against WHMCS 4.5.2 Version 2 (9/'12) - Updated to use new API key instead of SSL files. Tested against WHMCS 5.2.3.