Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
Unzer has stricter length limits on name and address fields than the default Drupal Commerce profile.
This leads to exceptions that make the checkout impossible.
The offsite plugin already truncates the fields to the lengths specified in the Unzer docs at https://docs.unzer.com/accept-payments/manage-payments/customer/
TODO: Move the code to a separate utility class and share it between the two plugins.
Comments
Comment #3
cspitzlayDone.