Ok, this is driving me nuts! I really like Invoice Ninja, especially the ability to have multiple contacts for a single company. However, for the Stripe Payment Gateway, I am having issues.
In test mode, everythingis working great …
I can see and enter in the CC to pay an invoice.
However, when I change to the Live API codes, that is where it stops working.
I am not a good coder and API is pretty new to me … so this is just smashing my OLD brain.
I thought from some of the threads I had read that I found, that the gateway needed to be trashed and redone, did that and nothing worked. So … being that I was wired on a pot of coffee at 3am and I was wide awake, I decided to trash the whole install. Once reinstalled, just added me as a test client, a few items to work with and reconfigured the gateway first thing.
This is a self-hosted install, version “v Latest Build - 2024-08-13.” the Health Check look clean …
Any advice you can give to help me get this working would be great! I really want to migrate to IN and get off Square as it is just that much better in my opinion.
I am NO expert on InvoiceNinja nor Stripe, but i have integrated several PSP (Payment Service Providers) gateway’s via API’s before.
Just out of interest have you tried a LIVE transaction of more than $1
Many PSPs have a minimum amount (it may pass in test mode (as test mode has no fees), but not in live…)
Try a live transaction for i.e $10 (no need to complete the transaction, just see if a higher amount displays the card number, etc for you.)
In my case, the issue was actually the frontend blocking requests because the live domain wasn’t fully synced. Once I updated the allowed origins and confirmed the domain settings, live payments started working.
If you want extra peace of mind, you can also run your Stripe requests through a verification engine like programmable verification engine called Verify API. It helps confirm that headers, payloads, and authentication tokens are all correct before hitting the live gateway, which can save some troubleshooting time.