Skip to content
This repository was archived by the owner on Apr 14, 2023. It is now read-only.

Handle errors when creating customer #70

Merged
merged 6 commits into from
Mar 29, 2017
Merged

Conversation

adammathys
Copy link
Member

We can't just assume the create is always successful. If it fails, we should raise the typical GatewayError so that we can properly handle it elsewhere.

We can't just assume the create is always successful. If it fails, we
should raise the typical GatewayError so that we can properly handle it
elsewhere.
Copy link
Contributor

@luukveenis luukveenis left a comment

Choose a reason for hiding this comment

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

👍

It doesn't make sense for the way RSpec is written.
Rubocop demands it. So it shall be.
These specs fail very often on Travis. Temporarily skipping them while
we work on making them reliable.
@adammathys adammathys force-pushed the safe-customer-create branch from 7a546c3 to 43938d1 Compare March 29, 2017 22:11
The most recent version of Solidus has removed `update_totals`. There's
no specific reason for this to be calling that instead of simply
`update!` which isn't going anywhere anytime soon.
@adammathys adammathys merged commit 6191200 into master Mar 29, 2017
@adammathys adammathys deleted the safe-customer-create branch March 29, 2017 22:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants