Fix upsert billing (#24)

This commit updates the product_id and variant_id in both the subscription_items and order_items in the billing tests. Updates also include adding new checks to verify these changes. Changes are reflected in corresponding SQL files for personal and team billing subscriptions/orders tests.
This commit is contained in:
Giancarlo Buomprisco
2024-05-15 11:08:19 +07:00
committed by GitHub
parent fe86b04d95
commit 4e50094808
8 changed files with 63 additions and 39 deletions

View File

@@ -123,10 +123,10 @@ export class StripeBillingStrategyService
...ctx,
error,
},
'Failed to cancel subscription',
'Failed to cancel subscription. It may have already been cancelled.',
);
throw new Error('Failed to cancel subscription');
return { success: false };
}
}