am developing an simple shopping cart project and i want to manage invoice and payment
i already have tables for order and its items etc.
i want to generate invoice after order confirmation and i want to manage payment for it
but i don’t know the efficient way to design this schema. in order table i have details about subtotal, discount, tax, total, customer_id, order_status etc.