'Laravel cashier (stripe) - retrieve invoice without user
I'm using Laravel Cashier.
I dont use reel users for payment
$stripeCharge = (new User)->charge(100, $paymentMethod);
Now, I need to preview invoice information without using the User Model I need something like
Stripe::findInvoice($invoiceId);
Instead of
`$user->findInvoice($invoiceId);`
Is this even possible ? thank you.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|