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.

CommentFileSizeAuthor
#3 fix_default_value-1.patch677 bytesAyrmax
fix_default_value.patch962 bytesAyrmax
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Ayrmax created an issue. See original summary.

Ayrmax’s picture

Issue summary: View changes
Ayrmax’s picture

FileSize
677 bytes
mabho’s picture

Patch on #3 works for me.

tucho’s picture

The patch works for me too with Payment 2.0-rc4 and Drupal 8.5.6.

Berdir’s picture

Status: Active » Postponed (maintainer needs more info)