Needs review
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Checkout
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2015 at 15:33 UTC
Updated:
30 Nov 2015 at 09:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Marvine commentedComment #3
visabhishek commentedPatch Looks good, so i am changing status to Needs Review
Comment #5
rszrama commentedThis is a breaking change that we wouldn't make in a point release. The only possible option here would be a setting to make the response configurable.
Comment #6
mglamanKeep comment in place. Try, not sure on variable name. Just dumped something.
variable_get('commerce_checkout_access_response_type', MENU_NOT_FOUND);Comment #7
jamesquinton commentedHi,
Just seen this issue and think that it makes good sense to return a 403. Based on Ryan's suggestion I've updated the checkout settings form with a new option, and return a response based on that.
Patch attached!
Comment #9
jamesquinton commented2nd attempt...
Comment #10
jamesquinton commentedComment #11
Marvine commentedIt looks good to me, great patch !
Couple of small comments :
We probably want to update the comment here to consider the new context :
Full stop needed :
// Save checkout access denied responseFull stop needed and a comma after '403' .
Comment #12
jamesquinton commentedHi Marvine,
Good spot - I've updated the comments, and corrected the array syntax.
Comment #14
jamesquinton commentedComment #16
visabhishek commentedHope this one apply
Comment #17
jamesquinton commentedYep, it should do. The paths are incorrect in my patch - sorry!