Stripe API not working in 1.5.5


I get an error when testing the Stripe API.

Payment failed. Please try again.
Sending credit card numbers directly to the Stripe API is generally unsafe. We suggest you use test tokens that map to the test card you are using, see

Where is the payment script located?

Stripe - collect payment information using tokenization
Stripe Integration Not working

Update 2018-05-18: I won’t edit the Stripe integration manually as it is handled completely by Omnipay. A newer version of the library was released just a few days ago so please be patient for InvoicePlane 1.5.10.

Payment handler is loacted here:


How can I get this to be production ready using Stripe and be safe… I ran into the same thing once I’ve put the API key in and tried to use a test card.


So, I need to swap out the $credit_card variable with a token generated with the JS from the link below?