⚠️ InvoicePlane v.1.6.0 has fixed the broken Stripe integration and therefore this repository will be archived. Please download the latest version of InvoicePlane.
This stripe module for InvoicePlane is still in an early version (alpha) and it's not ready for production. The module is distributed for free. Use it at your own risk, any liability of the developer is excluded. Do not use this module if it is in contrast with your country's regulation. This module is in no way supported by Stripe.
- Download the last version from the release page
- Upload the
hmapi
folder toapplication/module
folder - Update the
application/config/config.php
and include in the$config['csrf_exclude_uris']
variable also the following endpointhmapi/pay/stripe_validate_payment
- Create an endpoint in stripe
https://dashboard.stripe.com/webhooks
that points tohttps://yourdomain.tld/hmapi/pay/stripe_validate_payment
withEvents to send
set tocheckout.session.completed
- Update the
hmapi/controllers/Pay.php
file and add yourWEBHOOK SECRET
,STRIPE API KEY
andSTRIPE PUBLISHABLE KEY
- On line 38 of
hmapi/controllers/Pay.php
be sure to set the right currency for the payments - Copy the
InvoicePlane_Stripe.php
file inapplication/views/invoices_templates/public
- Go to your InvoicePlane system settings (http://yourdomain.tld/index.php/settings) and in the
Invoices
tab go to theInvoice Templates
section and set theDefault Public Template
toInvoicePlane_Stripe
If you encouter bugs, please open an issue in the Github section.
Security concerns can be sent to support(at)0ll.ch