-
Notifications
You must be signed in to change notification settings - Fork 54
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
Feature/amazon mws without removing fws #4
Feature/amazon mws without removing fws #4
Conversation
running green as they should be. One test is still failing though.
responses from AWS
invalid params response from Amazon Added more remote tests
to do is pass in the parameters we care about and the library will do the rest for us.
consistent and reliable. I think that was everything
|
||
def parse_fulfillment_response(op, document) | ||
response = {} | ||
action = OPERATIONS[:outbound][op] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is action
and node
used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take a look at how FWS was implemented, but I believe it's one of those Exception driven parts of the code (kinda dirty, I know).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it doesn't appear to do anything. I'm just going to remove all of it down to something simple
def parse_fulfillment_response(op, document)
{ :response_status => SUCCESS, :response_comment => MESSAGES[op][SUCCESS] }
end
end | ||
|
||
def fulfill(order_id, shipping_address, line_items, options = {}) | ||
requires!(options, :order_date, :comment, :shipping_method) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really require a comment and is that always sent from shopify?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No we don't.
…ing_fws Feature/amazon mws without removing fws
please review @wisq @odorcicd