Stripe Credit Card Information Form doesn't show up

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
DigitalGizmo
Posts: 5
Joined: 17 Apr 2019, 20:05

Stripe Credit Card Information Form doesn't show up

Post by DigitalGizmo » 24 Apr 2019, 06:41

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

User avatar
aimeos
Administrator
Posts: 7835
Joined: 01 Jan 1970, 00:00

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

Post by aimeos » 24 Apr 2019, 14:23

Seems like the Stripe JS isn't loaded for some reason which will add the input fields
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

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

Post by tenkraD » 24 Apr 2019, 15:45

Admin are the options right?

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

Cheers tenkraD

tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

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

Post by tenkraD » 25 Apr 2019, 17:24

DigitalGizmo have you tested it with stripe prefix?

User avatar
aimeos
Administrator
Posts: 7835
Joined: 01 Jan 1970, 00:00

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

Post by aimeos » 26 Apr 2019, 06:50

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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

tenkraD
Advanced
Posts: 110
Joined: 25 Jul 2017, 08:38

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

Post by tenkraD » 26 Apr 2019, 12:24

ok, but not for stripe.address and stripe.authorize, right?

User avatar
aimeos
Administrator
Posts: 7835
Joined: 01 Jan 1970, 00:00

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

Post by aimeos » 29 Apr 2019, 09:21

In 2019.04 the options are named "omnipay.address" and "omnipay.authorize" instead. In 2018.x they are named like you say.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

DigitalGizmo
Posts: 5
Joined: 17 Apr 2019, 20:05

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

Post by DigitalGizmo » 30 Apr 2019, 11:13

So I've checked the following setting. But it still didn't work.

Image

Image

User avatar
aimeos
Administrator
Posts: 7835
Joined: 01 Jan 1970, 00:00

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

Post by aimeos » 01 May 2019, 09:25

Is the stripe.js script included in the page or are there any JS errors in the browser console?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

DigitalGizmo
Posts: 5
Joined: 17 Apr 2019, 20:05

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

Post by DigitalGizmo » 09 May 2019, 13:07

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.

Post Reply