Page MenuHomePhabricator

Form variant with lock icon next to credit card number label
Closed, ResolvedPublic2 Estimated Story Points

Description

The email team requested a credit card payments form variant with a lock icon next to the card number label, since this has apparently improved results for other orgs. I worked out some CSS to do it, but am not sure how to turn this snippet into a form variant

[data-id=encryptedCardNumber] {
    padding-left: 16px;
    background: url(https://payments.wikimedia.org/extensions/DonationInterface/gateway_forms/includes/padlock.gif) no-repeat left center;
}

Screenshot 2023-10-05 at 19.01.29.png (278×541 px, 21 KB)

Event Timeline

Dwisehaupt set the point value for this task to 2.Nov 1 2023, 4:24 PM

Change 979128 had a related patch set uploaded (by Damilare Adedoyin; author: Damilare Adedoyin):

[mediawiki/extensions/DonationInterface@master] Form variant with lock icon next to credit card number label

https://gerrit.wikimedia.org/r/979128

Change 979128 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Form variant with lock icon next to credit card number label

https://gerrit.wikimedia.org/r/979128

XenoRyet set Final Story Points to 1.

@Pcoombe this should be visible now with variant=secureCardInput