Page MenuHomePhabricator

Adyen Checkout: show separate cardholder name field for some non-latin scripts
Open, Needs TriagePublic

Description

Per T124467, Hebrew speakers at least are used to filling out names twice during a purchase. Reportedly true for Japanese speakers as well. I think we can specify to show the field either in the JS when we create the component or in the getAdyenCheckoutConfiguration call that sends in mock getAvailablePaymentMethods results.

We will have to add an extra parameter to donation.api.php to accept this.

We can send this as full_name to the SmashPig createPayment method. That call should then use full_name when it exists in preference to concatenating any first_name and last_name that are passed in.