paas-billing icon indicating copy to clipboard operation
paas-billing copied to clipboard

Pricing Plans comes up with random "service" service

Open paroxp opened this issue 6 years ago • 0 comments

What

This may only be affecting my environment, but the API comes back with the weird and unassigned service with two plans.

Accessing the following link:

/pricing_plans?range_start=2018-06-01&range_stop=2018-07-01

Will result in a list containing the following two plans:

[  
   {  
      "name":"service Free",
      "plan_guid":"007505d9-ae13-4af5-bd5e-4073841290d4",
      "valid_from":"1970-01-01T00:00:00+00:00",
      "components":[  
         {  
            "name":"pending",
            "formula":"0",
            "vat_code":"Standard",
            "currency_code":"GBP"
         }
      ],
      "memory_in_mb":0,
      "storage_in_mb":0,
      "number_of_nodes":0
   },
   {  
      "name":"service tiny-unencrypted-9.5",
      "plan_guid":"4b29948e-a8d9-47c2-80bc-af46a1c6b90b",
      "valid_from":"1970-01-01T00:00:00+00:00",
      "components":[  
         {  
            "name":"pending",
            "formula":"0",
            "vat_code":"Standard",
            "currency_code":"GBP"
         }
      ],
      "memory_in_mb":0,
      "storage_in_mb":0,
      "number_of_nodes":0
   }
]

If it's not done

It will affect the pricing calculator visual representation.

paroxp avatar Jun 04 '18 09:06 paroxp