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

Fix stripe connected check #1084

Merged
merged 3 commits into from
May 8, 2019
Merged

Fix stripe connected check #1084

merged 3 commits into from
May 8, 2019

Conversation

Gnito
Copy link
Contributor

@Gnito Gnito commented May 8, 2019

Previous change from currentUser.attributes.stripeConnected to separately included
stripeAccount caused errors since updates to currentUser entity didn't include stripeAccount.
Including it every time sounds quite error-prone, so we reversed that change.

Current check for Stripe account setup is looking for non-existent `stripeAccount` property, causing a spurious modal asking to set up payment info even though it has already been configured. Changing to check the currect property on the `currentUser` object.
@Gnito Gnito force-pushed the fix-stripe-connected-check branch from 32aaed1 to d642620 Compare May 8, 2019 10:01
@Gnito Gnito force-pushed the fix-stripe-connected-check branch from d642620 to 44958f8 Compare May 8, 2019 10:31
@Gnito Gnito merged commit 106b1c2 into master May 8, 2019
@Gnito Gnito deleted the fix-stripe-connected-check branch May 8, 2019 10:39
@Gnito Gnito mentioned this pull request May 8, 2019
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.

2 participants