Answer the question
In order to leave comments, you need to log in
Is it necessary to create an Orders table?
Good afternoon!
I connect Internet acquiring, and during initialization, we need to send OrderId.
I want to implement a subscription system. There are following tables - Memberships, Purchases .
In the Memberships table we store the data that is shown to the user, we will also receive from this table a cell where the subscription cost is recorded. In the Purchases
table - I'm going to store the response from the bank. Example:
{
"Success": true,
"ErrorCode": "0",
"TerminalKey": "77700011123DEMO",
"Status": "NEW",
"PaymentId": "560500412",
"OrderId": "2",
"Amount": 350000,
"PaymentURL": "https://securepay.tinkoff.ru/new/7RajYo0X"
}
Answer the question
In order to leave comments, you need to log in
One of the rules is fixing the amount with all discounts in the table of orders, without the ability to change.
So think right.
expand ubuntu_lts , not really clear. They already store data, why did a separate table with transactions not please?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question