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

[CoreBundle] Fix fetch of checkout_finisher url from request #1814

Merged

Conversation

ramundomario
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets #...

Followup #1807 (comment)

It should fix the Behat UI failed test of #1812

Instead of taking the value from request we could get the value from the extra data of the form, let me know WDYT @dpfaffenbauer

@dpfaffenbauer
Copy link
Member

@ramundomario I thought about adding the submit buttons to the form and take it from there. You have another idea?

@dpfaffenbauer dpfaffenbauer merged commit c5bb686 into coreshop:2.2 Dec 10, 2021
@dpfaffenbauer
Copy link
Member

thanks btw :)

@ramundomario
Copy link
Contributor Author

@ramundomario I thought about adding the submit buttons to the form and take it from there. You have another idea?

I agree with you, but I would avoid putting the URL in a value of submit field, instead I would follow the example in symfony docs to generate the URL, depending on the button clicked, in getResponse function.
What do you think?

@ramundomario ramundomario deleted the bugfix/checkout-finisher-redirect-url branch December 10, 2021 10:04
@dpfaffenbauer
Copy link
Member

@ramundomario definitely. We cannot change that for 2.x, but we can do it for 3.x. Would you create a PR?

@ramundomario
Copy link
Contributor Author

@dpfaffenbauer I'll try, maybe in the next week.

ramundomario added a commit to ramundomario/CoreShop that referenced this pull request Dec 22, 2021
…op#1814

With this change submit order & submit quote urls are generated in `getResponse()` function of `SummaryCheckoutStep` instead of value of submit buttons
valentin- pushed a commit to valentin-/CoreShop that referenced this pull request Dec 29, 2021
…op#1814

With this change submit order & submit quote urls are generated in `getResponse()` function of `SummaryCheckoutStep` instead of value of submit buttons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants