laravel / cashier-stripe

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.
https://laravel.com/docs/billing
MIT License
2.37k stars 672 forks source link

The second argument to Stripe API method calls is an optional per-request apiKey #243

Closed Yorchi closed 7 years ago

Yorchi commented 8 years ago

I having this error at try to use this.

The second argument to Stripe API method calls is an optional per-request apiKey, 
which must be a string, or per-request options, which must be an array. 
(HINT: you can set a global apiKey by "Stripe::setApiKey(<apiKey>)") 
(View: /home/vagrant/Documents/Code/Homestead/facturas/resources/views/dashboard/cuenta/partials/_facturacion.blade.php) 
(View: /home/vagrant/Documents/Code/Homestead/facturas/resources/views/dashboard/cuenta/partials/_facturacion.blade.php)
cvcv01 commented 7 years ago

@cent040 Thanks, it worked!