How to Accept Crypto Payments on Invision Community
Running a forum on Invision Community and selling memberships or products through Commerce? You can add crypto as a payment method without writing your own gateway. Here is the setup, step by step.
Running a forum on Invision Community and selling memberships or products through Commerce? You can add crypto as a payment method without writing your own gateway. Here is the setup, step by step.
If you run a community on Invision Community and sell anything through Commerce (memberships, upgrades, downloads, physical products), you can let members pay in crypto alongside your existing methods. The CryptoPayr gateway plugs into Commerce as a redirect payment method, so members check out on a hosted page and the sale gets approved from a signed webhook. No card data touches your forum, and there are no chargebacks to deal with later.
This is built for Invision Community 4.x with Commerce (the application formerly called Nexus). You also need a CryptoPayr account and your API key, which lives under Developers in your dashboard. Have that key handy before you start.
The integration is a single gateway class. Copy CryptoPayr.php into your Commerce gateways folder:
applications/nexus/sources/Gateways/CryptoPayr.php
If you would rather not edit application files directly, you can include the same class from a small plugin or app of your own. Either way the result is that Commerce can see a gateway called CryptoPayr.
In the Admin Control Panel, go to Commerce, then Payments, then Payment Methods, and add a new method of type CryptoPayr. This is the same screen where your other methods live, so members will see crypto listed next to them at checkout.
In the method settings, enter your CryptoPayr API key and the API base URL (https://cryptopayr.com). Save it. That is the connection made. You can set the usual Commerce options like which currencies and customer groups the method is available to, the same as any other gateway.
Once it is live, here is what happens when a member buys something:
POST /api/v1/payment/create behind the scenes and sends the member to the returned checkout page.X-CryptoPayr-Signature header, which is an HMAC-SHA256 of the body keyed with your API key). The gateway checks the signature and approves the invoice in Commerce.Because approval comes from the verified webhook rather than the redirect, a member closing the tab early does not leave you with a half-finished order. The sale completes when the money actually lands.
Set up a cheap product or a small membership tier and run a real purchase through it yourself. Confirm the member gets sent to checkout, the payment approves the invoice, and the funds show in your dashboard. When that round trip works, switch it on for everyone.
One note: this is a developer integration aimed at IPS 4.x, so check it against your exact version before you put it in front of paying members. The gateway file and install notes ship in the plugin, and the underlying calls are the same ones documented in the API reference. Browse all the ready-made integrations on the plugins page, then create an account and add crypto to your community.
Open a free CryptoPayr account and take your first crypto payment the same day.
Get started for freeWhy does a crypto checkout ask which "network"? What's a confirmation, and why wait for one? Three words explain almost everything a merchant needs to know — here they are, in plain language.
Handing a payment gateway your revenue is an act of trust. Here's a plain account of how CryptoPayr handles your balance, your keys and your customers' data — and the boundaries we hold.
Sometimes you don't need a store or an integration — you need a link you can send. Here's how reusable payment links let you charge a fixed price or take any amount, with nothing to build.