{{#if confirmation}} {{#d-modal closeModal=(action "closeModal") modalStyle="inline-modal" title=(i18n "discourse_patrons.confirm")}} {{#d-modal-body}}
{{i18n 'discourse_patrons.confirmation.amount'}} {{format-curency amount}}
{{i18n 'discourse_patrons.confirmation.last4'}} .... .... .... {{last4}}
{{/d-modal-body}} {{/d-modal}} {{#if paymentError}} {{/if}} {{else}}

{{i18n 'discourse_patrons.payment.your_information'}}

{{i18n 'discourse_patrons.billing.name'}}
{{input value=billing.name}}
{{i18n 'discourse_patrons.payment.optional'}}
{{i18n 'discourse_patrons.billing.email'}}
{{input type="email" value=billing.email}}
{{i18n 'discourse_patrons.payment.optional'}}
{{i18n 'discourse_patrons.billing.phone'}}
{{input value=billing.phone}}
{{i18n 'discourse_patrons.payment.optional'}}

{{i18n 'discourse_patrons.payment.payment_information'}}

{{i18n 'discourse_patrons.amount'}} {{siteSettings.discourse_patrons_currency}}
{{combo-box valueAttribute="value" content=amounts value=amount}}
{{stripe-card amount=amount currency=currency billing=billing handleConfirmStripeCard=(action "handleConfirmStripeCard") }}
{{/if}}