# collab: Use \`StripeClient\` when creating Stripe Checkout sessions \(\#31644\) · gitcafe/zed

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

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

Visibility: public

Requested revision: eb863f8fd621644c07728669acd8a3bdf7ca1170

Requested commit: eb863f8fd621644c07728669acd8a3bdf7ca1170

Commit: eb863f8fd621644c07728669acd8a3bdf7ca1170

Tree: 006731627fceecf48dcf0e5e9ca805c606cb81f9

Author: Marshall Bowers

Committer: GitHub

## Message

```
collab: Use `StripeClient` when creating Stripe Checkout sessions (#31644)

This PR updates the `StripeBilling::checkout_with_zed_pro` and
`StripeBilling::checkout_with_zed_pro_trial` methods to use the
`StripeClient` trait instead of using `stripe::Client` directly.

Release Notes:

- N/A
```

## Parents

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

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