Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement payment features (Paypal, Stripe) #60

Open
steph-koopmanschap opened this issue May 10, 2023 · 0 comments
Open

Implement payment features (Paypal, Stripe) #60

steph-koopmanschap opened this issue May 10, 2023 · 0 comments
Assignees
Labels
backend backend specific issues enhancement New feature or request frontend frontend specific issues priority: medium

Comments

@steph-koopmanschap
Copy link
Owner

steph-koopmanschap commented May 10, 2023

Implement paypal or stripe payment features into the app.

Related:
https://github.com/steph-koopmanschap/jasma/blob/development/backend/api/views/payment_views.py

the bought credits should be stored in the
balance = models.DecimalField(max_digits=19, decimal_places=4, default=0, validators=[MinValueValidator(0)]) field in the User model in models.py

Transaction info should be stored in the Transaction model in models.py

https://github.com/steph-koopmanschap/jasma/blob/development/backend/api/models.py

Stripe Payment documentation
https://stripe.com/docs/payments/checkout/how-checkout-works

https://stripe.com/docs/payments/checkout/fulfill-orders

Paypal API documentation
https://developer.paypal.com/api/rest/

Postman API collection for Paypal
https://postman.com/paypal/collection/19024122-92a85d0e-51e7-47da-9f83-c45dcb1cdf24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend backend specific issues enhancement New feature or request frontend frontend specific issues priority: medium
Projects
None yet
Development

No branches or pull requests

2 participants