Stripe API not working in 1.5.5


#1

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 https://stripe.com/docs/testing.

Where is the payment script located?


Stripe - collect payment information using tokenization
Stripe Integration Not working
#2

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: https://github.com/InvoicePlane/InvoicePlane/blob/1.5/application/modules/guest/controllers/Payment_handler.php


#3

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.


#4

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


#5

Do we have an answer for that?

I found a config in stripe to desable tokenisation but it also desable all security features … they highly recommand to use the tokens

there is codes here : https://stripe.com/docs/quickstart
but i am not a dev so …

what can we do to integrate stripe properly in the invoiceplane v 1.5.9?


#6

Nothing new since then.