fix error when order has no payments (ie not yet complete)
fix error when order has no payments (ie not yet complete)

oeoeaio/openfoodnetwork,lin-d-hop/openfoodnetwork,openfoodfoundation/openfoodnetwork,KosenkoDmitriy/openfoodnetwork,Em-AK/openfoodnetwork,KateDavis/openfoodnetwork,ltrls/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,stveep/openfoodnetwork,levent/openfoodnetwork,stveep/openfoodnetwork,ltrls/openfoodnetwork,openfoodfoundation/openfoodnetwork,RohanM/openfoodnetwork,ecocitycore/openfoodnetwork,mkllnk/openfoodnetwork,stveep/openfoodnetwork,RohanM/openfoodnetwork,ltrls/openfoodnetwork,folklabs/openfoodnetwork,mkllnk/openfoodnetwork,folklabs/openfoodnetwork,MikeiLL/openfoodnetwork,KosenkoDmitriy/openfoodnetwork,MikeiLL/openfoodnetwork,stveep/openfoodnetwork,folklabs/openfoodnetwork,MikeiLL/openfoodnetwork,openfoodfoundation/openfoodnetwork,Matt-Yorkley/openfoodnetwork,ecocitycore/openfoodnetwork,KateDavis/openfoodnetwork,Em-AK/openfoodnetwork,RohanM/openfoodnetwork,lin-d-hop/openfoodnetwork,Em-AK/openfoodnetwork,openfoodfoundation/openfoodnetwork,levent/openfoodnetwork,lin-d-hop/openfoodnetwork,folklabs/openfoodnetwork,Em-AK/openfoodnetwork,oeoeaio/openfoodnetwork,mkllnk/openfoodnetwork,Matt-Yorkley/openfoodnetwork,KateDavis/openfoodnetwork,levent/openfoodnetwork,oeoeaio/openfoodnetwork,RohanM/openfoodnetwork,ecocitycore/openfoodnetwork,KateDavis/openfoodnetwork,MikeiLL/openfoodnetwork,lin-d-hop/openfoodnetwork,ltrls/openfoodnetwork,ecocitycore/openfoodnetwork,KosenkoDmitriy/openfoodnetwork,levent/openfoodnetwork,Matt-Yorkley/openfoodnetwork,KosenkoDmitriy/openfoodnetwork,oeoeaio/openfoodnetwork