elementary / elementary/appcenter-dashboard

500 error on return to dashboard after Stripe Connect after creating a new account on Stripe

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
14
Forks
5
Avg merge
23h 19m
Merged PRs (30d)
1

Description

### What Happened?

I got a 500 error after returning to the dashboard from Stripe Connect after creating a new account on Stripe to connect AppCenter to.

Stripe now only allows one platform to be connected to one account and that platform gets full access to that account so I did not want to connect AppCenter (or anything else) to our main account. Instead, you can create a new account while setting things up and I chose to do that. __Note: we should probably document this and set it as a best practice.__

The account creation, etc., went well but I got a 500 error on the dashboard when I returned.

When I reloaded the dashboard, it looked to be functioning correctly and the monetisation was showing as green.

### Steps to Reproduce

1. Carry out Stripe Connect flow
2. Create a new account in Stripe, connected to the business on your account
3. Complete the Connect flow and return to the dashboard

Note the 500 error.

(I don’t know how reproducible this is.)

### Expected Behavior

It should not give a 500 error.

### OS Version

6.x (Odin)

### Software Version

Latest release (I have run all updates)

### Log Output

```shell
n/a
```

### Hardware Info

n/a

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.