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

cspitzlay created an issue. See original summary.

  • cspitzlay committed 816b649 on 1.0.x
    Issue #3226906 by cspitzlay: Onsite: Apply the same address field...
cspitzlay’s picture

Status: Active » Fixed

Done.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.