You used the publishable key instead of a secret key? That message is not encrypted, there's nothing more to it than what it says.
Jul 6, 2015
1
Level 1
Laravel 5.1 Cashier (Strip package) not working
Hi
I have just installed Laravel Cashier package and created a Strip account. I've followed Laravel official guide http://laravel.com/docs/5.1/billing to install Cashier and setup Stripe API keys. For credit card token, I've followed Skype API docs at https://stripe.com/docs/tutorials/forms
But, I'm getting following error when I try to create a subscription.
This API call cannot be made with a publishable API key. Please use a secret API key. You can find a list of your API keys at https://dashboard.stripe.com/account/apikeys.
Please let me know where I'm wrong. Thanks
Please or to participate in this conversation.