Shipping
Assign Shipping
To initiate a payment, it is mandatory to assign a shipping id to the line item (product) in the cart. There are one ways to do this:
Obtaining the available shipping ids from the line_items of the cart after adding the item it. You can get this information only if you have assigned assigning the shipping country to the cart.
info
You can get the all the shipping ids of a product from the query "products" methods or the available shipping ids from the "line_items" of a cart.