Closed tomsabin closed 2 years ago
Turns out changing the format from :json
to :xml
solves this.
In case anyone else runs into this, instead of switching to xml format, you can instead add:
Chargify::Base.include_root_in_json = true
to an initializer or similar.
Hi, I'm struggling to create subscriptions after following the examples.
We have a product with the handle:
go-monthly-100kwh
but when creating a new subscription (and customer) with the followingI receive the following response:
I'm struggling to get this working via both the API using a rest client and this ruby gem. However, creating the subscription manually on the GUI is successful. Any help would be appreciated, I fear that it may be something very simple that I am overlooking.
Thanks