in Stripe if i make a plan in INR currency then it working find but when i make a plan on USD that time issues come in laravel by using cashire

In Stripe if I make a plan in INR currency then subscription working fine but when I make a plan on USD that time issues come in Laravel by using cashier

This is a function when I submit card details

    $plan = Plan::findOrFail($request->get('plan'));
    $user = $request->user();
    $paymentMethod = $request->paymentMethod;
    $user->createOrGetStripeCustomer();
    $user->updateDefaultPaymentMethod($paymentMethod);
    $user->newSubscription('default', $plan->stripe_plan)
        ->create($paymentMethod, [
            'email' => $user->email,
        ]);

Please help me with that!

Source: Laravel

Leave a Reply