* Parse comma-separated metadata value into array
(value: string | undefined)
| 62 | * Parse comma-separated metadata value into array |
| 63 | */ |
| 64 | function parseMetadataArray(value: string | undefined): string[] { |
| 65 | if (!value) return []; |
| 66 | return value.split(',').map(s => s.trim()).filter(Boolean); |
| 67 | } |
| 68 | |
| 69 | /** |
| 70 | * Get all billing products from Stripe using lookup keys |
no test coverage detected