Make billing address available to twig

Created on 11 July 2023, over 1 year ago
Updated 13 July 2023, over 1 year ago

Hi,

How can I use the billing address in a twig template to send an invoice by email after payment is complete?

πŸ’¬ Support request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

πŸ‡³πŸ‡ΏNew Zealand glennnz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @glennnz
  • πŸ‡ΈπŸ‡ΎSyria hodba Dubai

    The billing address is defined as a placeholder in the "form-element--stripe-payment.html.twig". You can see the div with "address-element" ID.
    If you want to change its place, you can do it from the template, but you can't implement it separately, as it is called while creating the payment intent.

    Regarding sending invoices by email, I think the best way is to manage it from the Stripe admin panel.

  • Status changed to Closed: won't fix over 1 year ago
  • πŸ‡ΈπŸ‡ΎSyria hodba Dubai
Production build 0.71.5 2024