Binding Cart Items to Payments in the Online Store: Overview of Methods

A single cart can have multiple payments—for example, if products are paid for through different payment systems. Determine which cart items correspond to each payment.

Quick navigation: all methods

Relationship of Cart Item Binding to Payments with Other Objects

Payments. Specify the payment ID to which you want to bind the cart item. A list of payment IDs can be obtained using the sale.payment.list method.

Cart. Specify the cart item ID for the payment. A list of cart item IDs can be obtained using the sale.basketitem.list method.

Overview of Methods

Scope: sale

Who can execute the methods: administrator

Method

Description

sale.paymentitembasket.add

Adds a binding of a cart item to a payment

sale.paymentitembasket.update

Modifies the binding of a cart item to a payment

sale.paymentitembasket.get

Returns the values of all fields of the cart item binding to a payment

sale.paymentitembasket.list

Returns a list of bindings of cart items to payments

sale.paymentitembasket.delete

Deletes the binding of a cart item to a payment

sale.paymentitembasket.getfields

Returns the available fields of cart item bindings to payments