When a Consumer marks Cart Item (Cart ID) ready for checkout, it will orders and invoice. An Order is a commercial document issued by the Marketplace to the Merchant and Consumer. It recorded the sale transaction and indicates the items, services, quantities, agreed price for the items or services that Merchant has to fulfill. An Invoice is an aggregated view of all the items/services the Consumer has purchased within a single checkout. Even though, in our default Spacetime template only have a single checkout process, you are still able to create a cart and do multi-items checkout. If you wish to follow our default Spacetime template whereby you want to allow single item checkout, you will still have to insert the item into a backend cart and set the item ready for checkout. You will receive both an invoice and order ID.
If you allow Consumer to purchase items from multiple Merchants in a single checkout. This will create an Invoice ID for the Consumer’s reference, to see the full list of items they have bought within that checkout. In the backend, the checkout will breakup the items into separate Order IDs for each Merchant to fulfill respectively. In each Order ID, the Merchants are only able to see items/services related to them and also the breakdown of total item price less the commission to be paid to the Admin. This is for privacy purposes as a Marketplace will not want Merchants to know what Consumers ordered from other Merchants.
A Transaction ID is a unique string that is given by any payment gateway to identify each transactions that is passed through them. Arcadier does not created these Transaction IDs as they are created by the payment gateway once you run a payment through them. You can use this ID to track the payment status for to search for past transactions within the payment gateway platform. In a standard Arcadier checkout, there will be x+1 transactions, with x equals to the number of Merchants involved in the checkout and 1 is a transaction to the Admin for commission fee.
For authorization, the Consumer, you are only able to read invoice details that they checked out. For Merchant, you are able to read order details and update order status related to them. And for Admin, you are able to read all invoices, orders and transactions in your marketplace.