- Issue created by @richard cheung
- Status changed to Fixed
4 months ago 8:27am 12 August 2024 - 🇮🇱Israel jsacksick
You can use the
hook_form_BASE_FORM_ID_alter()
orhook_form_FORM_ID_alter()
and alter the "amount" field, probably setting an #after_build or #process callback to the$form["payment"]["amount"]
field.IF you use the first option, functon name would be
YOUR_MODULE_commerce_payment_form_alter()
. Automatically closed - issue fixed for 2 weeks with no activity.