cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to convert a cart into an order?

Former Member
0 Likes
2,036

Hello everyone

Some other mates and me are working in a Hybris commerce project. Here in our country (Mexico) people have the possibility to pay for a product/service with a bank reference number directly in a bank. Once the seller recieves the payment the order is proccessed so the good can be sent to the client. The challenge we are facing is that by choosing the payment through bank reference the order remains in the cart, since the status hasn't the option to be modified. We haven't had found the literature or guide to convert the order in a cart level into an order for ECC. Is this possible? Does it requires any special development?

I hope you guys can help me with this issue, thank you very much!

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member633554
Active Participant
0 Likes

You can use the platform webservices if you want. This would turn a cart with id 1234567 to an order. You need basic authentication to post this

First get the XML of the cart GET http://10.0.0.1:9001/ws410/rest/carts/01234567

Then post this xml to this URL. POST.

http://10.0.0.1:9001/ws410/rest/carts/01234567?cmd=PlaceOrderCommand