Pro-rata on first month works on client, fails on admin and api

Started by djin, July 16, 2014, 05:29:23 AM

djin

Hi,

We finalising our implementation of Hostbill and are working hard to get the procedures run via the API. We ran into something that might be a bug or a setting we're overlooking.

We have a service configured with a monthly fee and pro-rata invoicing set to the 1st of each month. When ordering that service via the client interface, the orderform properly calculates the setup fee + the remainder of the month. The invoice generated from this order shows the proper amounts as well.

However, when placing an order via the admin interface or the api, the invoice is calculated with the setup + the full monthly fee. To make matters worse, it then wants to invoice the full month as of the first again.

We thought there might be a setting like 'always invoice a full month on ordering', but this does not make sense as the client interface works properly. Regretfully, offering ordering via this client interface is not an option.

Hope you guys have some ideas.

Regards,

Djin

edit: 2 typo's

Enterprisevpssolutions

Enterprise Vps Solutions (VPS) - Cloud Solutions, Shared hosting, VPS , and more, Fast Dedicated Servers. Great ssl prices SSL Certs, Follow us on Twitter. Sales Question? Contact us! Send us a Request Tampa , Florida Hivelocity Datacenter

djin


Enterprisevpssolutions

Yes coupon code? How are you doing the tests and what steps are different from the admin order and client order?
Enterprise Vps Solutions (VPS) - Cloud Solutions, Shared hosting, VPS , and more, Fast Dedicated Servers. Great ssl prices SSL Certs, Follow us on Twitter. Sales Question? Contact us! Send us a Request Tampa , Florida Hivelocity Datacenter

djin

No, no coupon code or anything.

Via client: Login -> Select product -> Checkout
Via API: createOrderDraft -> editOrderDraft -> addOrderDraftItem * -> convertOrderDraft -> setOrderActive
Via Admin: Orders -> Create order -> Select client + service -> Save Draft -> Generate order from this draft

* Hostbill does not seem to handle the components, bug report submitted

djin

Submitted as a bug and it will be solved in the next release  :D

djin

Fixed as advertised in 2014-07-25 update. Much appreciated! :D