Page MenuHomePhabricator

Card input for 3DS appears off-centered on Desktop views
Closed, ResolvedPublic1 Estimated Story Points


It was noticed during testing that the credit card input form for the 3DS payment service is not centered. Observe attached screenshot below.

Steps to Reproduce:

  1. Open on a desktop computer
  2. Select any donation amount
  3. Select Yes or No in the "Can we stay in touch?" section
  4. Click on the Credit Card payment option
  5. Enter any name in "First name" and "Last name" fields
  6. Enter a valid email in the "Email address" input
  7. Select "Visa"

Actual Results:
After selecting Visa the user is redirected to a card input page where the inputs appear off-centered

Expected Results:
We would expect the credit card input to appear centered on the page.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 7 2020, 5:10 PM

I thought this was supposed to load in the iframe. If it is supposed to be a separate page, we'll have to adjust this.

XenoRyet moved this task from Backlog to Doing on the Fundraising Sprint CAPS LOCK CULTS board.
XenoRyet set the point value for this task to 1.
Ejegg added a subscriber: Ejegg.Feb 11 2020, 4:38 PM

We're limited in our ability to change this page. They let us hide certain elements, but to hide the 'shopping cart' (list of items and prices) we had to set the text to white on white. Here's an example of what it would look like to change it back to black text on white:

Does that look better?

Ejegg added a comment.Feb 11 2020, 4:49 PM

The title of the page is 'Cards', which we should probably change too. It seems to be set in the language pack's

That key makes it appear that the same string is used for the title of that page and the link to indicate paying with a card in the payment product selection page. We are currently skipping the selection page and going straight to the card number input. If we are sure we will always do that, we can safely change that string to "Make your donation now" to be consistent with the title of the page on payments-wiki.

If we do add the shopping cart text back in, that will affect what it looks like on mobile as well. Here's what that would look like:

Another option, which would be fiddly and need much more testing to be sure it's displaying right on all devices, is that we can put a background image in the shopping cart container. Here's a quick mockup of that. Obviously we won't want just the logo again, and the fiddly bit is it has to have the right amount of whitespace to look right.

On Desktop:

And Mobile:

What about adding some legal text in the section on the left? Just another thought on how to fill that space...

In the fr-tech office hours meeting @Ppena also suggested the "Total: (2 items)" text be changed to "Total: ", without the items text

@XenoRyet and @Ejegg let's go with @Ejegg 's version and call it a day. Thanks all!

Ejegg added a comment.Feb 11 2020, 7:18 PM

Yep, I just checked (by highlighting the white-on-white text) and it does indeed just say Total 30.00 SEK (since we don't send an itemization).

XenoRyet closed this task as Resolved.Feb 13 2020, 4:57 PM
XenoRyet moved this task from Doing to Done on the Fundraising Sprint CAPS LOCK CULTS board.