Bk256
Bk256

Reputation: 1

Laravel - Cashier - Stripe

I have created an app that implements monthly subscriptions (Laravel - cashier - stripe). It works great in test and exactly how I want it but when I migrate to production and a user subscribes, cashier returns null when calling subscribed. I implemented some debugging and subscriptions are returning null. In test it returns exactly what it is supposed to. I have updated keys to production keys. The customer data is updated in database correctly. I am at a loss as to why subscriptions are returning null. Any ideas?

Tried calling subscribed and subscriptions. Null returned.

Upvotes: 0

Views: 192

Answers (1)

Bk256
Bk256

Reputation: 1

After further investigation, it turns out there was a typo in the webhook url so the subscription table was not being populated. This is now resolved.

Upvotes: 0

Related Questions