elephant
elephant copied to clipboard
Modern Clojure client for the Stripe API
I'm getting the following error: ``` com.stripe.exception.InvalidRequestException: This customer has no attached payment source or default payment method. at com.stripe.net.LiveStripeResponseGetter.handleAPIError(LiveStripeResponseGetter.java:591) at com.stripe.net.LiveStripeResponseGetter._request(LiveStripeResponseGetter.java:443) at com.stripe.net.LiveStripeResponseGetter.request(LiveStripeResponseGetter.java:65) at com.stripe.net.APIResource.request(APIResource.java:140) at com.stripe.model.Customer.createSubscription(Customer.java:478) at com.stripe.model.Customer.createSubscription(Customer.java:320)...
I wanted to retrieve the total count of customers. According to the documentation for the upstream Stripe API, > You can optionally request that the response include the total count...