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

Add special Response for Checkout Session #212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vojtasvoboda
Copy link

Stripe Checkout Purchase request works fine, but it creates Stripe Session Response which is not compatible with standard Response:

  • for Checkout there is always redirect, no matter on 3DS availability
  • redirect URL is in $data['url'] parameter not in $data['redirect']['url']

So I've created a new Checkout\Response. With this small fix, isRedirect() returns true and I'm able to redirect to the Checkout gateway.

@adnane-ka
Copy link

I know this might be a bit late but yeah! This pull request should be definitely considered. I had to create my own handler when returned offsite, which clearly messed up my payment logic flow across other multiple omnipay gateways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants