no matter what payment, first or second
you need to check the wallet field,
there is a value - then, depending on the value (let's say 1 or 2), send the payment type Card or Cash, (CARD and CASH seem to be available)
as well as provide the ability to send a different from the standard name of the payment type from the process field and from the wallet field
http://prntscr.com/va3jh7and if the value is empty, then we check the process field.
and also provide the ability to send a different from the standard name of the payment type from the process field and from the wallet field.
ideally so.