Problem/Motivation
The Express Checkout buttons support several options, to modify its appearance. The most interesting missing feature are the Layout options. (Also button themes for paypal and klarna would be nice)
Steps to reproduce
Proposed resolution
Create settings to modify the express checkout buttons "layout" object and add paypal and klarna button theme settings.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 3572623-create-settings-to-patch-9.patch | 9.79 KB | grevil |
| #7 | 3572623-create-settings-to-patch-7.patch | 9.63 KB | grevil |
| #5 | screenshot-2026-02-11 09_31_13.png | 50.67 KB | grevil |
| #5 | screenshot-2026-02-11 09_29_43.png | 14.27 KB | grevil |
| #5 | screenshot-2026-02-11 09_24_59.png | 6.84 KB | grevil |
Issue fork commerce_stripe-3572623
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
grevil commentedAlright, that should be it, I already did some manual testing but I will go through all the new settings tommorow.
Comment #4
anybodyDefinitely a very helpful addition, thanks @grevil! Let's see what the maintainers think about it. Maybe you could add a screenshot to show why this is needed for better checkout UX?
Comment #5
grevil commentedNew PayPal and Klarna Styling Options in Action:

Overflow set to never (disables the dropdown, all buttons shown):

The new fieldset inside the express checkout configuration:

(Note, that the site is in german. Some of the strings are translated)
Tested manually, everything works as expected. Ready for final review!
Comment #6
anybodyWhao, nice work @grevil that was fast!! Works great and adds the missing features perfectly!
Comment #7
grevil commentedStatic patch for the time being.
Comment #8
grevil commentedSorry, one minor adjustment.
Comment #9
grevil commentedNew static patch.
Comment #10
anybodyJust wanted to confirm that this works GREAT and is a wonderful improvement. Re-confirming RTBC.
Comment #11
anybodyRe-confirming RTBC. We're using this in production happily since >3 months now.