I want to charge payment using paymentMethod as a source but it does not charge, how do I get token as the source using payment method? I tried to charge using
\Stripe\Stripe::setApiKey('sk_test_**************');
\Stripe\Charge::create([
'amount' => $menuPrice*100,
'currency' => 'usd',
'customer' => $user->stripe_id,
'source' => 'pm_*************'
]);