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

Feature/amazon mws without removing fws #4

Merged
merged 14 commits into from
May 28, 2012
Merged

Feature/amazon mws without removing fws #4

merged 14 commits into from
May 28, 2012

Conversation

csaunders
Copy link

please review @wisq @odorcicd

@csaunders
Copy link
Author

Disregard that @wisq, @Soleone would you mind?


def parse_fulfillment_response(op, document)
response = {}
action = OPERATIONS[:outbound][op]

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?

Copy link
Author

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).

Copy link
Author

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)
Copy link
Member

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?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No we don't.

csaunders pushed a commit that referenced this pull request May 28, 2012
…ing_fws

Feature/amazon mws without removing fws
@csaunders csaunders merged commit 1860a46 into Shopify:master May 28, 2012
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.

5 participants