Allows you to retrieve a list of available payment methods for a shopping cart (quote).
magento.checkoutCartPayment.list({
quoteId: val,
storeView: val /* optional */
}, callback);
Allows you to set a payment method for a shopping cart (quote).
data
is an array of shoppingCartPaymentMethodEntity objects.
magento.checkoutCartPayment.method({
quoteId: val,
paymentData: [ val, val, val ],
storeView: val /* optional */
}, callback);
// or a single cell of payment data
magento.checkoutCartPayment.method({
quoteId: val,
paymentData: val,
storeView: val /* optional */
}, callback);