Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When a default line item is provided in a payment form field, editing/saving the entity will remove the line item.
The same happens when manually adding a line item and editing the same entity again.
I provided a patch to fix the problem temporary, but I think that the whole mechanism has to be reviewed.
Comment | File | Size | Author |
---|---|---|---|
#3 | fix_default_value-1.patch | 677 bytes | Ayrmax |
Comments
Comment #2
Ayrmax CreditAttribution: Ayrmax commentedComment #3
Ayrmax CreditAttribution: Ayrmax commentedComment #4
mabho CreditAttribution: mabho as a volunteer commentedPatch on #3 works for me.
Comment #5
tuchoThe patch works for me too with Payment 2.0-rc4 and Drupal 8.5.6.
Comment #6
BerdirMight have been fixed by #2840698: Ajax broken in payment_form submodule.