Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

eriktobben's avatar

Guzzle 6 and Oauth 2

Hi!

I am trying to consume the Stripe API for adding and attaching a stand-alone account using Guzzle. Stripe uses Oauth 2 and I can't find a plugin like guzzlehttp/oauth-subscriber for Oauth 2.

How would you go about making an Oauth 2 request using Guzzle?

0 likes
5 replies
eriktobben's avatar

Thanks for your answer. I don't think I can use Cashier to connect to another users Stripe Account?

nate.a.johnson's avatar

I guess it depends on if you have their keys. I do it with cashier on behalf of other users, but I use their keys to do it.

nate.a.johnson's avatar

Not sure about that one... it might not fit the cashier model. Sorry.

Please or to participate in this conversation.