Skip to content

fix/permitions-fix-to-payments#36

Closed
Artcrafterrra wants to merge 172 commits into
mainfrom
fix/permitions-fix-to-payments
Closed

fix/permitions-fix-to-payments#36
Artcrafterrra wants to merge 172 commits into
mainfrom
fix/permitions-fix-to-payments

Conversation

@Artcrafterrra
Copy link
Copy Markdown
Collaborator

No description provided.

Arch0998 and others added 30 commits September 20, 2025 04:50
chore: project skeleton with Docker, env, and docs
PavelSemenikhin and others added 29 commits September 23, 2025 16:39
…-staff users

# Conflicts:
#	payments/views.py
Payment Callback Views - Added and to handle Stripe redirects after payment completion/cancellation PaymentSuccessView PaymentCancelView
Stripe Session Integration - Implemented session validation using Stripe API to verify payment status and update local payment records
URL Endpoints - Added /success/ and /cancel/ routes for Stripe callback handling
Error Handling - Added proper exception handling for Stripe API errors and missing sessions
…-borrowings

Stripe integration on borrowing creation
Automatically creates a Stripe session when a new borrowing is made
Generates a Payment record with session details (id, url, amount)
Sets initial payment status to PENDING
Updated Swagger documentation to reflect different permissions per action
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants