I'm working in the ERPCRM B2B web shop.
At the moment I'm trying to create an in-between page where the user is able to select their payment option.
The Page is a custom JSP wich allows the user to:
1) Create either a new Credit card.
2) Select a Stored Credit Card.
3) Pay by Terms (invoice is sent).
The screen is able to render without any problem , the issue now is how to assign the selection to the order before submitting it to the backed.
I have checked the standard and found a class called PaymentActions which has a method called setPaymentAttributes, but I'm not sure if this is the correct object that i need to change to store the credit card information/invoice.
Does anyone know how to do this? how can i set this information to the Basket/Order so that it can afterward be saved in the Backed.
Thanks in Advance.