aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/payments (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-12-08Uses Mailgun for production and local settingsMatthew Lemon1-6/+7
- credentials are in the .env file - uses the mailgun http API to send verification messages
2024-12-08wip: temporarily switched to mailgun testingMatthew Lemon1-19/+41
- this uses mailgun sandbox credentials whilst I was setting up the domain on there.
2024-12-08wip: sorting out the email sendingMatthew Lemon5-47/+81
2024-12-05Add unique constraint to EmailVerification email fieldMatthew Lemon4-60/+122
This update enhances the EmailVerification model by ensuring the email field is unique, preventing duplicate records. A new form, EmailVerificationForm, was also introduced to handle email cleaning and validation, which enhances user input handling. Additionally, existing views and templates have been updated to integrate this form, improving the user experience and error feedback.
2024-12-04Email verificationMatthew Lemon2-8/+50
- Associated changes in the .env file now allow us to test the SMTP server config - Added mine and J's email ad admins - Grab env variables from the .env file in the local.py file for testing purposes - Set an expiry of 24hrs for the validation link to work - Added an HTML version of the verification email
2024-12-03Better handling of email verificationMatthew Lemon4-7/+27
2024-12-03First cut at email verificationMatthew Lemon6-33/+132
2024-12-03Sorted importsMatthew Lemon1-12/+15
2024-12-02Some tweaks to the spurtMatthew Lemon1-0/+5
2024-11-26Got the basic form anbd privacy policy in placeMatthew Lemon5-13/+85
2024-10-20Can now delete item from basketMatthew Lemon2-3/+20
- if is only one item left, it is deleted along with the basket - if there are more than one, just that one is deleted - TODO needs proper handling of the confirmation page - it's not formatted. htmx?
2024-10-20tidying up the cart detail page - still nowhere near good enoughMatthew Lemon1-19/+16
2024-10-20bugfix: bad request if resource doesn't have price objectMatthew Lemon1-4/+3
2024-10-20Cart shows items in it; disables buttons if item in basketMatthew Lemon2-3/+8
- Rough cart icon in navbar - Shows items in cart - Styled dependent on existence - Add to cart buttons disabled if resource in cart, on resource list page and detail page - Throws 404 error if trying add item to cart which has no price - eventually all items will have a price
2024-10-20Updates the TODO list for payments viewsMatthew Lemon1-4/+4
2024-10-19Add multiple items to the cart and Stripe processMatthew Lemon4-23/+50
- Very rough but it works - Multiple items can be added to cart - Can be bought with stripe - Shopping cart is deleted after successful transaction
2024-10-19Changes the Resource to include Stripe referenceMatthew Lemon4-10/+39
2024-10-19Test email in the consoleMatthew Lemon1-2/+13
2024-10-17skeleton webhook for stripe workingMatthew Lemon2-1/+29
2024-10-17Adds TODO to the payments/view page for the next stepsMatthew Lemon1-0/+12
2024-10-17Update Stripe and include the API keyMatthew Lemon2-2/+6
2024-10-15Renamed from pyblackbird_cc to alphabetlearning - everywhereMatthew Lemon19-0/+691