Allow multiple mode payments #6448

It allows sale payments using multiple gateways.
get_payment_amounts