{{> account_sidebar}}

Your Pro Subscription

Powered By Stripe
{{#subscription}}
Plan: {{plan.name}}{{#if cancel_at_period_end}} (cancelled on {{#stripeTimestampAsDate canceled_at "D MMMM, YYYY"}}{{/stripeTimestampAsDate}}){{/if}}
Cost: £{{#divide plan.amount 100 2}}{{/divide}} per {{plan.interval}} {{#if plan.vat}}(£{{#divide plan.vat 100 2}}+VAT{{/divide}}){{/if}}
Started: {{#stripeTimestampAsDate start "D MMMM, YYYY"}}{{/stripeTimestampAsDate}}
{{#unless cancel_at_period_end}}Next payment: {{#stripeTimestampAsDate current_period_end "D MMMM, YYYY"}}{{/stripeTimestampAsDate}}{{/unless}}

Dave loves you Thank you.

Invoices

{{#each ../invoices}} Invoice for {{#stripeTimestampAsDate lines.data.[0].period.start "D MMMM, YYYY"}}{{/stripeTimestampAsDate}} - {{#stripeTimestampAsDate lines.data.[0].period.end "D MMMM, YYYY"}}{{/stripeTimestampAsDate}} {{#unless paid}}⚠️{{/unless}}

{{/each}}

Update your card

{{#unless @root.charge.paid}}

⚠️ Last charge: {{@root.charge.failure_message}}

Your last invoice failed to take payment. Please update your credit card above to resolve this problem. Or email support@jsbin.com if a card update can't resolve the issue.

{{/unless}}
{{#if cancel_at_period_end}}

Cancellation Zone

You cancelled your Pro subscription on {{#stripeTimestampAsDate canceled_at "D MMMM, YYYY"}}{{/stripeTimestampAsDate}}. You'll keep your Pro status until then.

{{else}}

Cancellation Zone

This will disable all your Pro access and disable your warm love for JS Bin.

If you do cancel, your Pro status will remain active until {{#stripeTimestampAsDate current_period_end "D MMMM, YYYY"}}{{/stripeTimestampAsDate}}, when your subscription will not be renewed.

{{/if}} {{/subscription}}