Adds ability to process Payments using your InvoiceShelf instance.
Important
This module is for InvoiceShelf 2.x only. On 2.3.0 and later it needs version 1.1.1 or newer;
1.1.0 and older show a blank settings page there. It does not run on InvoiceShelf 3.x: payments
on 3.x will come from a rebuilt module - the module in v3 will be called Billing
| InvoiceShelf | Payments module |
|---|---|
| 2.3.0 and later | 1.1.1 or newer |
| 1.3.0 to 2.2.x | 1.1.0 or newer |
| 3.x | not supported |
- Download the zip with pre-built module from the latest release in this repo. Alternatively you can build from source, for that follow the steps in the development section.
- Create
/Modules/dir in your server InvoiceShelf project root. NOTE: make sure it's capitalised like in example, it's not a typo. - Upload the
Payments.zipinto the newly created/Modules/dir. - Unzip it.
- In your server InvoiceShelf project
/root dir, runphp artisan install:module Payments 1.1.1. - Run
php artisan optimize:clear, or restart the container if you run InvoiceShelf in Docker. The Docker image caches its routes when it starts, so the module's pages return 404 until then. - (optional) If you have any issues with your installed module, try clearing your browser's
cache,cookies, and/orsite data.
- Download the zip with pre-built module from the latest release in this repo. Alternatively you can build from source, for that follow the steps in the development section.
- Upload the
Payments.zipinto the/Modules/dir. - Remove the old
Payments/module folder. - Unzip it, run
php artisan optimize:clear(or restart the container in Docker) and visit the site.
- InvoiceShelf >= 1.3.0 (upgrade this module to 1.1.0)
- InvoiceShelf >= 2.3.0 (upgrade this module to 1.1.1)
This is a step by step guide on how to get started, with development.
- nvm/fnm (optional)
- Node JS:
24(what InvoiceShelf 2.x requires) pnpmfor InvoiceShelf andyarnfor this module
- Clone the InvoiceShelf repo and check out the
2.xbranch - needed for the admin components. In the future it's likely to be just a node package and you wont need this step. - Create
Modules/dir, in the root dir. - Clone this repo into
Payments/dir inside/Modules/. - Initialise
node_modulesby runningpnpm installinside/of the InvoiceShelf repo. - Initialise
node_modulesby runningyarninside/Modules/Payments/of this repo. - Make the changes you wish to make.
- Run
yarn build, new/Modules/Payments/dist/dir will be created with builtcssandjsbundles. - Upload the contents of
/Modules/Payments/to your server with InvoiceShelf. Either use SFTP or zip up the folder. - Continue from Installation (Step 2)
- If you get an empty popup when adding a new payment provider you need to clear your
cache,cookies, and/orsite dataas specified in Installation (Step 6)
Copyright (C) 2022-2023 Crater Invoice, Inc
Copyright (C) 2024-2026 <Rihards Simanovics> rihards.s@griffin-web.studio
