flo-sch / stripe-bundle

A symfony >= 3 integration for the Stripe PHP SDK
MIT License
28 stars 10 forks source link

2.0 #9

Closed plbertret closed 6 years ago

plbertret commented 6 years ago

Hi again,

created this 2.0 branch with a 2.0 tag. I don't really know if I did correctly.

I just modified in the code :

With this solution, you still have to write to a config file :

flosch_stripe: stripe_api_key: "STRIPE_API_KEY"

The best would be to write a composer recipe (the new way of doing) which would write the config file when updating composer. But I did not found enough documentation on web to do it so far.

Theses modifications work for me on my environnement, at lest for creating charges/updating charges/customers.

ekeyte commented 6 years ago

+1 need to upgrade to S4 as well, so this would be great.

flo-sch commented 6 years ago

Thank you @plbertret once again, sorry for the delay, this is much appreciated :)

I have released a 2.0.0 version, if you wish to test it.