Stripe checkout - won't redirect to payment (success) page

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
umichel
Posts: 4
Joined: 20 Oct 2020, 16:57

Stripe checkout - won't redirect to payment (success) page

Post by umichel » 20 Oct 2020, 17:17

Hi there,

I installed and configured the Stripe Payment Provider (in part) successfully.

During the checkout, after clicking on "Pay now" the credit card form is shown:
- cc number
- expiration date
- ccv code

Then I'm entering the test data:
- 4242424242424242 a
- 02 / 21
- 123

After clicking on "Pay now" a screen is shown which says:

"Payment - You will be redirected to the payment provider"

Everything seems to be fine so far.

Then, one more click on "Continue"

--> The Browser ist redirected back to the credit card form, which does not seem to be right!

Looking into the log in the Stripe Admin Panel, I can see that the data is transmitted correctly - so why does the payment extension jump back to the cc data form?

What's is the intended behavoir? Should there be a redirect to a page at Stripe like in the Paypal Express payment provider? Or is everything done within the iframes on the payment process pages inside the aimeos shop?

Any help would be appreciated!

I'm using a TYPO3 setup with following components:

- TYPO3 9.5.19
- aimeos_dist 19.4.0
- aimeos 20.7.4

- ai-payments 2020.10.1

(via composer)

Best regards,
Uwe

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

Re: Stripe checkout - won't redirect to payment (success) page

Post by aimeos » 21 Oct 2020, 10:04

This is a bug when using Aimeos as part of TYPO3 and has been fixed in the current 2020.10 release.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

umichel
Posts: 4
Joined: 20 Oct 2020, 16:57

Re: Stripe checkout - won't redirect to payment (success) page

Post by umichel » 21 Oct 2020, 10:22

Thanks for the quick reply.

As of I am using the current stable version of ai-payments which seems to be "2020.10.1" you would suggest getting the "2020.10.x-dev" oder "dev-master" version?

Or do you refer to the "aimeos/ai-typo3" package?

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

Re: Stripe checkout - won't redirect to payment (success) page

Post by aimeos » 21 Oct 2020, 10:26

You need a 2020.10.x version of the aimeos/ai-client-html package for the fix which is this one:
https://github.com/aimeos/ai-client-htm ... d1617bb99f

If you've overwritten that template, you need to add the fix manually.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

umichel
Posts: 4
Joined: 20 Oct 2020, 16:57

Re: Stripe checkout - won't redirect to payment (success) page

Post by umichel » 21 Oct 2020, 10:42

That did the trick! :D

Thanks a lot!

Post Reply