payment.number should be used instead of payment.identifier
payment.number should be used instead of payment.identifier

See details here: https://github.com/spree/spree/commit/5ed195e823a7e3ddd02e61c155c6caa0c2147431

tgfi/spree_print_invoice,tgfi/spree_print_invoice,spree-contrib/spree_print_invoice,fajrif/spree_print_invoice,nebulab/spree_print_invoice,fajrif/spree_print_invoice,maximedelpit/spree_print_invoice,fajrif/spree_print_invoice,maximedelpit/spree_print_invoice,sunny2601/spree_print_invoice,maximedelpit/spree_print_invoice,firmanm/spree_print_invoice,spree-contrib/spree_print_invoice,FadliKun/spree_print_invoice,MercaFly/spree_print_invoice,simo163/solidus_print_invoice,sunny2601/spree_print_invoice,firmanm/spree_print_invoice,nebulab/spree_print_invoice,spree-contrib/spree_print_invoice,simo163/solidus_print_invoice,firmanm/spree_print_invoice,simo163/solidus_print_invoice,tgfi/spree_print_invoice,heritageid/invoice,heritageid/invoice,heritageid/invoice,MercaFly/spree_print_invoice,nebulab/spree_print_invoice,FadliKun/spree_print_invoice,MercaFly/spree_print_invoice,FadliKun/spree_print_invoice,sunny2601/spree_print_invoice