payto_e.lightning_invoice has to be set after the payment field is set to the node pub key, because check_text has the side effect of resetting the payto_e.lightning_invoice
payto_e.lightning_invoice has to be set after the payment field is set to the node pub key, because check_text has the side effect of resetting the payto_e.lightning_invoice