See the code behind this demo!

Payment Element accordion layout

The Payment Element's layout is configurable to fit your checkout flow, including a vertical accordion layout. Learn more here.


Console

> Ready ...

          
          const paymentElement = elements.create('payment', {
            layout: {
              type: 'accordion',
              radios: false
            }
          });                           
          
        

Experiment and learn

Make copies, remix, change and learn how to play with this tinydemo.


Any questions?

Reach out to us on any of our contact channels: