# collab: Avoid creating duplicate Stripe customers \(\#29566\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/17703310ae651d06b8c6f775cab1b3466e8b1e6c)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 17703310ae651d06b8c6f775cab1b3466e8b1e6c

Requested commit: 17703310ae651d06b8c6f775cab1b3466e8b1e6c

Commit: 17703310ae651d06b8c6f775cab1b3466e8b1e6c

Tree: 07cefba5feb36f427771fde08115beb8c3d28dfd

Author: Marshall Bowers

Committer: GitHub

## Message

```
collab: Avoid creating duplicate Stripe customers (#29566)

This PR makes it so we check for an existing Stripe customer by email
address before attempting to create a new one.

This should avoid the case where we end up creating multiple Stripe
customers for the same user.

Release Notes:

- N/A
```

## Parents

- [bbe8d6a6541245d6d39058ac874752170dce607c](https://git.cafe/gitcafe/zed/commit/bbe8d6a6541245d6d39058ac874752170dce607c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/17703310ae651d06b8c6f775cab1b3466e8b1e6c?format=markdown)
