Hey everyone! I’m currently creating a marketplace where people could buy services/ goods/ etc. So users can add products sold in market and there will be a cart. They can do a checkout like this:
When the checkout button is clicked, it triggers an API worflow to create a orders for the list items in the cart. It’s working well except that if I want to add the order to my current user’s data, it only adds the first one. It works well if I want to add the order to another user (for instance, the account of the creator). Here are some screenshots
How the API workflow works:
Orders are successfully created
Only first orders are successfully added to current users
!
All orders are succeffully added to another users