Page 1 of 2

Stripe Credit Card Information Form doesn't show up

Posted: 24 Apr 2019, 06:41
by DigitalGizmo
I'm trying to setup creditcard as a payment option via stripe. I can choose the creditcard option as a paymanet option but when i'm supposed to enter my credit card information I only get the following:
Image


Here is my setting in the backend of the creditcard payment option:
Image


And here are the information about the website setup:
TYPO3 Version: v9.5.5
PHP Version: 7.2.17
OS: FreeBSD 11.2-RELEASE-p8
Webserver: Apache/2.4
aimeos version: 19.4.1
aimeos payment version: 2019.04.2
omnipay/stripe version: v3.0.1
league/omnipay version: v3.0.2
omnipay/common version: v3.0.2

Am I missing something?

Thanks for your help

Re: Stripe Credit Card Information Form doesn't show up

Posted: 24 Apr 2019, 14:23
by aimeos
Seems like the Stripe JS isn't loaded for some reason which will add the input fields

Re: Stripe Credit Card Information Form doesn't show up

Posted: 24 Apr 2019, 15:45
by tenkraD
Admin are the options right?

In Version 18x all options begin with stripe.* (stripe.address, stripe.apiKey...)

Cheers tenkraD

Re: Stripe Credit Card Information Form doesn't show up

Posted: 25 Apr 2019, 17:24
by tenkraD
DigitalGizmo have you tested it with stripe prefix?

Re: Stripe Credit Card Information Form doesn't show up

Posted: 26 Apr 2019, 06:50
by aimeos
In 2019.x versions the "stripe." prefix has been remove resp. replaced by "omnipay." like stated in the updated docs:
https://aimeos.org/docs/User_Manual/Adm ... ist#Stripe

Re: Stripe Credit Card Information Form doesn't show up

Posted: 26 Apr 2019, 12:24
by tenkraD
ok, but not for stripe.address and stripe.authorize, right?

Re: Stripe Credit Card Information Form doesn't show up

Posted: 29 Apr 2019, 09:21
by aimeos
In 2019.04 the options are named "omnipay.address" and "omnipay.authorize" instead. In 2018.x they are named like you say.

Re: Stripe Credit Card Information Form doesn't show up

Posted: 30 Apr 2019, 11:13
by DigitalGizmo
So I've checked the following setting. But it still didn't work.

Image

Image

Re: Stripe Credit Card Information Form doesn't show up

Posted: 01 May 2019, 09:25
by aimeos
Is the stripe.js script included in the page or are there any JS errors in the browser console?

Re: Stripe Credit Card Information Form doesn't show up

Posted: 09 May 2019, 13:07
by DigitalGizmo
I've checked the console and there was an error: "Error: Please call Stripe() with your publishable key. You used an empty string."

I've played around with the apikey settings and these are the settings that worked for me.

Image

Just add the stripe. before the apikey settings and then it works.

The Checkout look a bit weird (seen below) but a bit of CSS will do the trick.

Image

I hope this helps everyone that has the same problem.