stripe-scala icon indicating copy to clipboard operation
stripe-scala copied to clipboard

'Disputed' attribute on charge is deprecated in favor of 'dispute'

Open spakanati opened this issue 13 years ago • 5 comments

Charge objects in the Stripe API now have a dispute object instead of the disputed boolean:

https://groups.google.com/a/lists.stripe.com/forum/#!topic/api-discuss/dR3MCRKOtsc

The bindings need to be updated accordingly.

spakanati avatar Dec 03 '12 06:12 spakanati

Any traction on the fix for this ?

mmatvien avatar Jan 04 '13 02:01 mmatvien

Seeing the same issue

rcino avatar Feb 18 '13 22:02 rcino

me too

markusjura avatar Feb 27 '13 00:02 markusjura

Fixed the issue and changed the version to 1.1.3 in my fork: [email protected]:markusjura/stripe-scala.git

Repo available on: http://markusjura.github.com/stripe-scala

markusjura avatar Feb 27 '13 01:02 markusjura

I think Option[String] = None is a better choice for the field.

The spec is: Charge object now has a dispute attribute, which is a dispute object hash (https://stripe.com/docs/api#dispute_object) if the charge has been disputed and null if it hasn't.

d6y avatar May 20 '13 10:05 d6y