#jet-customer-java

1 messages · Page 1 of 1 (latest)

formal vaultBOT
vernal nova
#

jet-customer-java

#

@leaden herald subscriptions on Customer was removed a long time ago back in https://stripe.com/docs/upgrades#2020-08-27. It's never returned by default in the API unless you use an old API version/stripe-java version.

I'm not sure how you're doing the getRawJsonObject but I'm fairly certain what you described shouldn't be possible.

Ultimately I would highly recommend moving off of this entirely and using the List Subscriptions API https://stripe.com/docs/api/subscriptions/list directly instead of relying on that old deprecated property

leaden herald
#

Interesting, thanks - amazing support!
So would I be correct in saying I would need two requests in order to get the users subscriptions from an email? One to get the customer (and customer ID) and one for the subscription list?

vernal nova
#

yes, or store all of this in your database and avoid those extra calls (that's what I'd do!)

leaden herald
#

Okay awesome - thanks a lot!