An extension for Opencart to receive Bitcoin payments through Mycelium
So yeah, the title is self explaining. A plugin to be able to accept Bitcoin payments in an OpenCart online store.
Not only Bitcoin but almost any Altcoin can be accepted too, thanks to ShapeShift.
Download the "Upload" folder and zip it in a file called whatever-youwant.ocmod.zip
.
Go to the Opencart module installer and upload the .zip there.
Done :D
If it doesn't work for any reason, like FTP not enabled or because of the difficulty of the previous steps ( :D ) you can manually install it by placing the files in the equivalent directories of your website. With the equivalent directories I mean:
- Admin/Controller/Payment/Mycelium.php ----> Goes here ----> Admin/Controller/Payment/Mycelium.php
- Admin/Model/Payment/Mycelium.php ----> Goes here ----> Admin/Model/Payment/MYcelium.php
- And so on... :)
The plugin has been built on OpenCart Version 2.0.3.1. And has been tested on versions:
- ...
- More coming soon
Like always :)
- Open issues if you find something which needs to be fixed, or upgraded, or if you have any idea on how to improve the plugin.
- If there are issues open check them out to see if you can help with that. If you start working on a fix write a reply to the issue so everyone knows someone is already working on it (so we don't waste resources/time/things)
- Fork it, Fix it, Pull-request-it
- There will be a TODO list with things which are pending, you can check it out too (when it exists :D )
- If you want to be an active maintainer of this repository let me know
Mmmm... Right now the priorities are testing the plugin on different OpenCart versions aaaand... well, wait for issues :)
One thing I wanted to do at first was to link the Plugin Admin Panel with the Mycelium Gear Admin Panel. This way we could change
the settings from the store backend and get them automatically changed at Mycelium. This can be done with the Mycelium developer API.
Then, with a single API key all the gateway setup can be automatically done. A new gateway would be created, all the settings set, everything.
We would even be able to import a gateway settings from Mycelium so the end user doesn't have to copy and paste everything from panel
to panel.
As I said, it can be done but I haven't been able to generate a valid signature for that endpoint. The authentication system is exactly the
same as the used by the gateways but.. I don`t know, help me :(
hehe
I'll leave the documentation here https://admin.gear.mycelium.com/docs
OH! And special thanks to the BitPay guys, your OpenCart Module helped me to find the correct path when I started developing this one ;)