zf-fr / zfr-stripe

ZfrStripe is a PHP library based on Guzzle for Stripe payment system
MIT License
44 stars 10 forks source link

Add support for stripe_account authentication #16

Open bakura10 opened 9 years ago

bakura10 commented 9 years ago

When using Connect in ZfrStripe, you are currently forced to save the access token and refresh token of the associated account, which leads to many tokens to secure.

Stripe now supports to pass a "stripe_account" parameter to all API calls (https://stripe.com/docs/connect/authentication), in addition of your own Stripe secret key (so there is only one secret key to secure).