mattsta / stripe-erlang

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

Add initial support for creating Invoice Items #7

Closed jaredmorrow closed 9 years ago

jaredmorrow commented 9 years ago

This adds stripe:invoiceitem_create as well as tests for that functionality.

In addition a bug in the existing stripe:invoiceitem function where gen_customer_url() was being called instead of gen_invoiceitem_url() was found and fixed.

mattsta commented 9 years ago

Thanks for the fix and the new functionality! It was kinda shameful we had "read invoiceitem" but no "create invoiceitem," so there was no test for reading. But, you fixed it all now. :shipit: