v0.3.1
Decoding Int and String for quantity
Properties
The Order.Item.quantity
and Payment.Item.quantity
properties are documented as strings in the PayPal API documentation, but you actually get ints back when you create a payment or order. Because of this, we attempt to decode an int, and fall back to a string if we get a type mismatch decoding error.