v1.7 beta.4

This commit is contained in:
carodej
2020-07-17 08:34:28 +02:00
parent 59b6dfb841
commit caa586ceb4
8 changed files with 175 additions and 38 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ class StripeService
*/
public function getUserInvoice($customer, $id)
{
$user = User::where('stripe_id', $customer)->first();
$user = User::where('stripe_id', $customer)->firstOrFail();
return $user->findInvoice($id);
}