@jekinney I thought you might be able to drop some knowldge in this situation. As well, it seems like google can't help me out much so far. T_T
Dec 29, 2015
9
Level 4
Cashier and Stripe: No such token Error constantly!
I've gone down to my last bit of code. But something gets stuck here:
Route::post('charge', function(){
$creditCardToken = Input::get('stripeToken');
Auth::user()->newSubscription('pro', 'pro')->create($creditCardToken);
});
Instead of making the new subscription, I get this: No such token: tok_blablabla; a similar object exists in test mode, but a live mode key was used to make this request.
If i try to change the api key to the live secret key instead, then I get a very similar response, only this time it says that a similar object exist in the LIVE mode, but a test mode key was used to make this request.
Does anyone know what might be the issue here?
Please or to participate in this conversation.