{{#if confirmation}} {{#d-modal closeModal=(action "closeModal") modalStyle="inline-modal" title=(i18n "discourse_patrons.one_time.payment.payment_confirmation")}} {{#d-modal-body}}
{{i18n 'discourse_patrons.billing.name'}} {{billing.name}}
{{i18n 'discourse_patrons.billing.email'}} {{billing.email}}
{{i18n 'discourse_patrons.billing.phone'}} {{billing.phone}}
{{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.one_time.payment.your_information'}}

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

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

{{i18n 'discourse_patrons.one_time.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}}