Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3D secure is redirecting back to home page [3.x]: #3254

Open
kevadamson opened this issue Aug 20, 2023 · 5 comments
Open

3D secure is redirecting back to home page [3.x]: #3254

kevadamson opened this issue Aug 20, 2023 · 5 comments
Labels
bug commerce3 Issues related to Commerce v3

Comments

@kevadamson
Copy link

What happened?

Description

I'm using Stripe Payment Intents

{{ redirectInput(siteUrl ~ '' ~ entry.uri ~ '?payment=success#buy') }}
{{ cart.getGateway().getPaymentFormHtml({})|raw }}

I test using the following card:

4000000000003220 (3DS2)

It takes me to the test 3DS page, when I click authorise it takes me to my website root home page, rather than the redirect URL above. Redirect URL works when no 3DS used (for e.g. 4242424242424242).

I'm testing on a development server with no password set for access.

Craft CMS version

3.8.17

Craft Commerce version

3.4.22.1

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

  • Stripe for Craft Commerce version: 2.4.4.1
@kevadamson kevadamson added commerce3 Issues related to Commerce v3 bug labels Aug 20, 2023
@lukeholder
Copy link
Member

Can you make sure siteUrl ~ '' ~ entry.uri ~ '?payment=success#buy' resolves to a working url?

@kevadamson
Copy link
Author

kevadamson commented Aug 21, 2023

@lukeholder Looks something like this (I've changed domain name, just to be safe): <input type="hidden" name="redirect" value="d84231cddea976a8a4d33395ccadc677309826ca71caee6a5d41febd53091f71https://testdomain.com/courses-and-workshops/introducing-to-script-editing-with-philip-shelley?payment=success#buy"> < all good?

@kevadamson
Copy link
Author

Is this something that is "fixed" in Craft 4 and associated plugins?

@clarisse-catacutan
Copy link

Wondering if this has been resolved? Experiencing it now after updating Stripe and Commerce. Our redirect URL looks like this 03d40e019a5b7db3028e29f3fbc44d031285830ef8bd1a6e57cba3fb330c53afhttps://stagingbiz.test.asia/shop/payment/event-credit?number=123abc&success=true

@kevadamson
Copy link
Author

@clarisse-catacutan Works if you include cancel input: {{ hiddenInput('cancelUrl', '/what/evs'|hash) }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug commerce3 Issues related to Commerce v3
Projects
None yet
Development

No branches or pull requests

3 participants