dolthub / hosted-issues

Issues for hosted.doltdb.com
https://hosted.doltdb.com
2 stars 0 forks source link

Inconsistent Pricing #51

Closed bheni closed 2 years ago

bheni commented 2 years ago

Describe the bug and expected behavior Currently the list price on the create deployment page does not match the pricing page.

Deployment Page says 7 cents per hour

Screen Shot 2022-09-15 at 1 59 23 PM

Pricing Page says 6 cents per hour

Screen Shot 2022-09-15 at 1 59 32 PM

The hourly pricing is off also. The cost being sent back by the hostedapi to graphql is $0.066. It should be multiplying that by 730 to get the monthly price which would be $48.18 not $43.80

Screen Shot 2022-09-15 at 1 59 59 PM

I can see that graphQL is sending down "cost":6 instead of 6.6. We should probably display 10ths of a cent per hour to avoid this? We store prices in the database in 10ths of a cent so matching that would reduce rounding.