'How to pass listing ID's to Stripe via Laravel Cashier?
I am building a directory project and want to use Laravel Cashier for the Stripe subscriptions. Users can create 1 or more listings. Each listing needs a subscription to be active. i.e bronze, silver, gold. By default Laravel Cashier sets the billable trait on the Users table. I need my subscriptions to refer to listing ID's in a different table though. The Listings table. What is the best way to pass the listing ID from this table via Laravel Cashier to Stripe?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
