mattsta / stripe-erlang

Erlang interface to the stripe.com API
27 stars 23 forks source link

Currency can be null #3

Closed stefanrusek closed 11 years ago

stefanrusek commented 11 years ago

When The coupon is a percent off coupon, there is no currency.

mattsta commented 11 years ago

Good catch. I'll update from my side. (There's actually a function that does this for us. The stripe:check_to_atom/1 does a quick null = null, other = binary_to_atom.)

Thanks!