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 - Succes and Fail pages #1297

Closed
Tracked by #1272
dimitur2204 opened this issue Jan 23, 2023 · 0 comments
Closed
Tracked by #1272

New Donation Flow - Succes and Fail pages #1297

dimitur2204 opened this issue Jan 23, 2023 · 0 comments
Labels
area: donations Regarding something that includes the donation flow good first issue Good for newcomers template: enhancement type: enhancement New feature or request

Comments

@dimitur2204
Copy link
Contributor

dimitur2204 commented Jan 23, 2023

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

Donations

Describe the feature you'd like to request

Create the Success(Thank you) and Fail pages for the new donation flow.

Success mockups: https://www.figma.com/file/MmvFKzUv6yE5U2wrOpWtwS/Podkrepi.bg?node-id=15829%3A47727&t=3Tx9ep5pUJGc6phS-0
image

Fail mockups: TO BE ADDED

Describe the solution you'd like

They shouldn't be separate routes in the pages folder, but just 2 components which we will later render based on the redirect_status that Stripe return after a donation.

We should have them as just components as it currently is in the one-time-donation flow.

Describe alternatives you've considered

No response

@dimitur2204 dimitur2204 added type: enhancement New feature or request good first issue Good for newcomers area: donations Regarding something that includes the donation flow template: enhancement labels Jan 23, 2023
dimitur2204 added a commit that referenced this issue Feb 6, 2023
…1322)

* 1291 - add bank payment content and mobile alert

* 1291 - add loading state to the form and fix payment summary negative value bug

* 1291 - fix mobile styling on the bank payment element

* 1291 - add payment intent creation on the SSR

* 1291 - add prefetch of the stripe prices

* 1291 - arrange imports

* 1291 - add disabled styles to the RadioButton

* 1291 - add bank alert to be shown on desktop

* 1291 - fix bank alert margin error

* 1291 - add todo comment for the bank payment transfer

* 1291 - add `Collapse` animation to the payment method

* 1291 - add grey borders on the disabled RadioButton

* 1297 - change enum names

* 1297 - move Layout to a seperate component

* 1297 - add stripe as a separate service and add top-level await in next.config.js

* 1297 - add payment status page

* 1297 - fix form submission and add metadata for updated payment intent

* 1297 - adjust folder structure

* 1297 - add a loader to the success page

* 1297 - add instant routing to the success page on bank payment

* 1297 - social share list component

* 1297 - add link cards

* 1297 - update social share list button to use proper links and serialized url

* 1297 - fixup imports

* 1297 - add wish donation

* 1297 - swap session sid with person id

* 1297 - add the default value to be taken from the paymentIntent

* 1297 - fix server mismatch classess due to stripe elements check

* 1297 - set returns after error states in the form submission

* 1297 - remove the v2 suffix

* 1297 - move generalValidation over the validationSchema

* 1297 - fix routing and bank payment redirect

* 1297 - add localization language to the return url

* 1297 - change the url of the old donation page in the e2e tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: donations Regarding something that includes the donation flow good first issue Good for newcomers template: enhancement type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant