Skip to content

Instantly share code, notes, and snippets.

@uno-de-piera uno-de-piera/file.php Secret
Created Aug 18, 2019

What would you like to do?
use Laravel\Cashier\Exceptions\IncompletePayment;
try {
$subscription = $user->newSubscription('default', $planId)->create($paymentMethod);
} catch (IncompletePayment $exception) {
return redirect()->route(
[$exception->payment->id, 'redirect' => route('home')]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.