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

New Donation Flow - Payment Intent Donations Endpoints #407

Closed
dimitur2204 opened this issue Dec 27, 2022 · 0 comments · Fixed by #425
Closed

New Donation Flow - Payment Intent Donations Endpoints #407

dimitur2204 opened this issue Dec 27, 2022 · 0 comments · Fixed by #425
Assignees
Labels
type: enhancement New feature or request

Comments

@dimitur2204
Copy link
Contributor

dimitur2204 commented Dec 27, 2022

Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)

Donations

Describe the feature you'd like to request

We need an enpoint towards stripe to create and update a payment intent.
We currently don't have such endpoints.
Check out:

This paymentIntent is needed if we want to inline the payment flow as described in podkrepi-bg/frontend#1267.

Describe the solution you'd like

We should be able to based on {amount=2000 currency=bgn payment_method_types=card}(https://stripe.com/docs/api/payment_intents/create). Create an endpoint returning the paymentIntent so the frontend can use it to initialize the Stripe Elements

Describe alternatives you've considered

@dimitur2204 dimitur2204 added the type: enhancement New feature or request label Dec 27, 2022
@dimitur2204 dimitur2204 self-assigned this Dec 27, 2022
@dimitur2204 dimitur2204 changed the title Payment Intent Endpoint New Donation Flow - Payment Intent Endpoint Jan 29, 2023
@dimitur2204 dimitur2204 changed the title New Donation Flow - Payment Intent Endpoint New Donation Flow - Payment Intent Donations Endpoints Jan 29, 2023
@dimitur2204 dimitur2204 linked a pull request Jan 29, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant