I have created a subscription plan variation with an initial phase having a 100% discount, then a subsequent phase billed relative to the item price. When I create an order for this subscription, the invoice is sent immediately. I would expect that the account status would be set to active immediately and the account billed once the initial phase expired, but that is not what is happening.
I have done some experimenting and noticed that I can set the plan start date to 30 days in the future and the account does not get billed immediately however, the account status is Pending, which presents its own difficulties.
Is there something I can do to delay the invoice until after the free trial is expired?
Here is my catalog:
{
“objects”: [
{
“type”: “MODIFIER_LIST”,
“id”: “AJ6FZOZ7ZTJLAOISHZUBAHFT”,
“updated_at”: “2024-05-09T16:22:58.953Z”,
“created_at”: “2024-05-09T16:14:20.904Z”,
“version”: 1715271778953,
“is_deleted”: false,
“present_at_all_locations”: false,
“present_at_location_ids”: [
“LAMX4Q1201MW9”
],
“modifier_list_data”: {
“name”: “Access Modifiers”,
“ordinal”: 0,
“selection_type”: “MULTIPLE”,
“modifiers”: [
{
“type”: “MODIFIER”,
“id”: “2V6L2FQIRSIUE6IZLHHERH5A”,
“updated_at”: “2024-05-09T16:14:20.904Z”,
“created_at”: “2024-05-09T16:14:20.904Z”,
“version”: 1715271260904,
“is_deleted”: false,
“present_at_all_locations”: false,
“present_at_location_ids”: [
“LAMX4Q1201MW9”
],
“modifier_data”: {
“name”: “Employee Onboarding”,
“price_money”: {
“amount”: 10000,
“currency”: “USD”
},
“on_by_default”: false,
“ordinal”: 1,
“modifier_list_id”: “AJ6FZOZ7ZTJLAOISHZUBAHFT”
}
},
{
“type”: “MODIFIER”,
“id”: “OGEHQRSCPJ6PKB3SMUK4TFZ4”,
“updated_at”: “2024-05-09T16:14:20.904Z”,
“created_at”: “2024-05-09T16:14:20.904Z”,
“version”: 1715271260904,
“is_deleted”: false,
“present_at_all_locations”: false,
“present_at_location_ids”: [
“LAMX4Q1201MW9”
],
“modifier_data”: {
“name”: “Scheduling”,
“price_money”: {
“amount”: 15000,
“currency”: “USD”
},
“on_by_default”: false,
“ordinal”: 2,
“modifier_list_id”: “AJ6FZOZ7ZTJLAOISHZUBAHFT”
}
}
],
“modifier_type”: “LIST”,
“max_length”: 150,
“text_required”: false,
“internal_name”: “Access_Modifiers”
}
},
{
“type”: “ITEM”,
“id”: “ZP24ZJNRGZCZJZ7NYZCOTDMP”,
“updated_at”: “2024-05-09T17:08:19.015Z”,
“created_at”: “2024-05-09T16:16:05.359Z”,
“version”: 1715274499015,
“is_deleted”: false,
“present_at_all_locations”: true,
“item_data”: {
“name”: “Access_Base”,
“description”: “Base access item”,
“is_taxable”: true,
“visibility”: “PRIVATE”,
“modifier_list_info”: [
{
“modifier_list_id”: “AJ6FZOZ7ZTJLAOISHZUBAHFT”,
“visibility”: “PUBLIC”,
“min_selected_modifiers”: -1,
“max_selected_modifiers”: -1,
“enabled”: true
}
],
“variations”: [
{
“type”: “ITEM_VARIATION”,
“id”: “Z42O565523YPHINRMOCYCXZ6”,
“updated_at”: “2024-05-09T17:08:19.015Z”,
“created_at”: “2024-05-09T16:16:05.359Z”,
“version”: 1715274499015,
“is_deleted”: false,
“custom_attribute_values”: {
“Square:d219f732-0d4a-4901-a9a9-6ae6b1852640”: {
“name”: “Description”,
“string_value”: “This is a custom attribute named description on the base item”,
“custom_attribute_definition_id”: “O7GF7QOX36YUGEMPXWCYLZXT”,
“type”: “STRING”,
“key”: “Square:d219f732-0d4a-4901-a9a9-6ae6b1852640”
}
},
“present_at_all_locations”: true,
“item_variation_data”: {
“item_id”: “ZP24ZJNRGZCZJZ7NYZCOTDMP”,
“name”: “Monthly_Access”,
“sku”: “001”,
“ordinal”: 1,
“pricing_type”: “FIXED_PRICING”,
“price_money”: {
“amount”: 10000,
“currency”: “USD”
},
“location_overrides”: [
{
“location_id”: “LAMX4Q1201MW9”,
“track_inventory”: false
}
],
“track_inventory”: false,
“sellable”: true,
“stockable”: true,
“subscription_plan_ids”: [
“2L3FTJO2YALCLMCPDSOBCX3D”
]
}
}
],
“product_type”: “REGULAR”,
“skip_modifier_screen”: false,
“ecom_visibility”: “UNINDEXED”,
“description_html”: “
Base access item
”,“description_plaintext”: “Base access item”,
“is_archived”: false
}
},
{
“type”: “SUBSCRIPTION_PLAN”,
“id”: “2L3FTJO2YALCLMCPDSOBCX3D”,
“updated_at”: “2024-05-09T16:21:47.394Z”,
“created_at”: “2024-05-09T16:21:47.394Z”,
“version”: 1715271707394,
“is_deleted”: false,
“present_at_all_locations”: true,
“subscription_plan_data”: {
“name”: “MonthlySubscription”,
“subscription_plan_variations”: [
],
“eligible_item_ids”: [
“ZP24ZJNRGZCZJZ7NYZCOTDMP”
],
“all_items”: false
}
}
{
“type”: “CUSTOM_ATTRIBUTE_DEFINITION”,
“id”: “O7GF7QOX36YUGEMPXWCYLZXT”,
“updated_at”: “2024-05-09T17:08:18.616Z”,
“created_at”: “2024-05-09T17:08:18.616Z”,
“version”: 1715274498616,
“is_deleted”: false,
“present_at_all_locations”: true,
“custom_attribute_definition_data”: {
“type”: “STRING”,
“name”: “Description”,
“source_application”: {
“application_id”: “Square”
},
“allowed_object_types”: [
“ITEM”,
“ITEM_VARIATION”
],
“seller_visibility”: “SELLER_VISIBILITY_READ_WRITE_VALUES”,
“app_visibility”: “APP_VISIBILITY_READ_WRITE_VALUES”,
“string_config”: {
“enforce_uniqueness”: false
},
“key”: “d219f732-0d4a-4901-a9a9-6ae6b1852640”
}
},
{
“type”: “DISCOUNT”,
“id”: “QDOSAJ5D2LPVLVBO7R3Z7ITI”,
“updated_at”: “2024-05-09T17:52:37.263Z”,
“created_at”: “2024-05-09T17:52:37.263Z”,
“version”: 1715277157263,
“is_deleted”: false,
“present_at_all_locations”: true,
“discount_data”: {
“name”: “Free 30 Day Discount”,
“discount_type”: “FIXED_PERCENTAGE”,
“percentage”: “100.0”,
“application_method”: “MANUALLY_APPLIED”,
“modify_tax_basis”: “MODIFY_TAX_BASIS”
}
},
{
“type”: “SUBSCRIPTION_PLAN_VARIATION”,
“id”: “MF3YET6WWYFSYEIPJ3VXSVMM”,
“updated_at”: “2024-05-09T17:58:20.682Z”,
“created_at”: “2024-05-09T17:58:20.682Z”,
“version”: 1715277500682,
“is_deleted”: false,
“present_at_all_locations”: true,
“present_at_location_ids”: [
“LAMX4Q1201MW9”
],
“subscription_plan_variation_data”: {
“name”: “Free 30 Day Subscription”,
“phases”: [
{
“uid”: “QOJ2Y2H53RXY55LIFCB2TN3X”,
“cadence”: “THIRTY_DAYS”,
“periods”: 1,
“ordinal”: 0,
“pricing”: {
“type”: “RELATIVE”,
“discount_ids”: [
“QDOSAJ5D2LPVLVBO7R3Z7ITI”
]
}
},
{
“uid”: “C4V3XESZVZFIHAMNMXKSD3RI”,
“cadence”: “THIRTY_DAYS”,
“ordinal”: 1,
“pricing”: {
“type”: “RELATIVE”
}
}
],
“subscription_plan_id”: “2L3FTJO2YALCLMCPDSOBCX3D”,
“can_prorate”: true
}
}
]
}