The type of message is wrong for payment processing

The messages generated by the payment process should be of type 'out' not 'in'.

issue4305
review10611002
(grafted from 8ab85307cc3f1be25d0f710f697a7349d4c1c902)

--HG--
branch : 3.4
extra : source : 8ab85307cc3f1be25d0f710f697a7349d4c1c902