Do not create a new product for each plan
renchap opened this issue · comments
After #101, the plan builder now always specifies a product.name
in the POST
request, thus creating a new product for each plan, even if the product name is the same.
The API docs state that you can either pass a hash to in product
, or an existing product ID as a string.
It would be great to either be possible to pass a product_id
attribute to the builder. A builder for products would also be great, to not have to create them manually.
Also, new attributes has been added to plans, most notably nickname
, a customer-hidden name for the plan (displayed in the GUI for example).
Also, new attributes has been added to plans, most notably nickname, a customer-hidden name for the plan (displayed in the GUI for example).
I've release this on v1.4.2. Enjoy!