I am creating an e-commerce website. and I'm stuck with the shopping cart and payments and orders …
I don't know how to build a reliable and safe structure.
You can see my attempt in this image:
users have a ONE TO MANY relationship
orders can have many
payments(failed and one succeeded) and many
Can you help me add a secure payment for the store section?