enforceMetadataLimits(metadata: Record<string, string>,maxValueLength: number): Record<string, string>
Enforce metadata value length limits for a payment provider.
Only items and answer_ids can realistically exceed provider limits — they grow with the number of events/options selected. All other fields (name, email, address, etc.) are already constrained by form validation to lengths well below the smallest provider limit (255).