Active
Project:
Commerce Core
Version:
3.3.6
Component:
Payment
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jun 2026 at 08:02 UTC
Updated:
29 Jun 2026 at 08:02 UTC
Jump to comment: Most recent
We developped custom payment gateways and payment types that represents financing contracts. Those payments require additional fields like the financing duration or the financing rate that are added to the payment entity via bundle fields.
With the new admin payment creation system that relies on OrderPaymentAddForm, the custom payment fields are no longer fillable and this is an issue. We have set the setting commerce_payment_use_legacy_add_payment_form but we except it to be deprecated in the future so we are looking for a future-proof solution.
OrderPaymentAddForm locally and insert the required custom fields but some vary based on the payment gateway which may be a bit trickier. Also we would need to follow closely the updates made on the original form to avoid breaking stuff, so additional maintenance.add-payment inline entity form when defined on the payment gateway. Would you consider it? I fear it might be rejected because it would be like going backwards.OrderPaymentAddForm. Though none of the financing contracts are reusable, aren't we bending the system to match our needs? This would represents quite a big migration so let's make sure it's future-proof.Thank you in advance for your support.
Comments