lkuessner / patreon-clone-api

2 stars 0 forks source link

stripe driver code for payments #10

Open Blankscreen-exe opened 4 weeks ago

Blankscreen-exe commented 4 weeks ago

Scope

Adding related tables to custom Users table This issue is to be performed after milestone Users blog and profile is finished.

Description

For this, you will need to create (if not already created) an app named as 'payments'. You will create a file named utils.py inside the app folder and write your driver code for Stripe in there.

You can refer to Stripe Documentation to write driver code for stripe.

We need the following APIs:

We also need a table where we can track transactions. Therefore you also need to create a table named as "PaymentHistory" inside payments.models file. This new table will contain the following fields: