LimeDeck / nova-cashier-overview

Interact with your Stripe subscriptions directly inside Nova.
MIT License
28 stars 18 forks source link

Attempt to read property "amount" on null #32

Open tpharaoh opened 2 years ago

tpharaoh commented 2 years ago

I have a subscription with 2 price points. A Monthly + a seat based price.

When I click to view data I get this. Should I be enabling additional features? Do I need additional configuration?

image
Livijn commented 1 year ago

I have a similar error. For me it's related to this line:

https://github.com/LimeDeck/nova-cashier-overview/blob/8fdbba87f57621606552af68e585ef53fb24c233/src/Http/Controllers/DatabaseSubscriptionsController.php#L21-L22

I use the SoftDeletes trait which means that the billable model might be deleted.