parse_subscription: get account_type from configuration file rather than WC subscription.
This MR modifies
parse_subscription so it infers
billing_period of a subscription by checking what is configured in
Before this was done looking at the json data on the WC subscriptions. This failed in some instances and worked on others because of the different names that different WC instances were giving to the bundles.