cal.pub0.org/packages/trpc/server/routers/viewer
Joe Au-Yeung 817e20f11e
Stripe add the ability to place hold on cards (#8022)
* Add payment option to schema

* Add payment option to Stripe zod

* Set payment option on event type

* Create manual payment intent in Stripe

* Set payment option from Stripe app

* Add payment option to DB

* Pass React.ReactNode to checkbox

* Create uncaptured payment intent

* WIP

* Capture card in setup intent

* Show charge card option

* Charge card from booking page

* Bug fixes

* Clean up

* Clean up app card

* Add no-show fee messaging on booking page

* Send payment email on payment & add price

* Fix messaging

* Create no show fee charged email

* Send charge fee collected email

* Disable submit on card failure

* Clean up

* Serverside prevent charging card again if already charged

* Only confirm booking if paid for

* Type fixes

* More type fixes

* More type fixes

* Type fix

* Type fixes

* UI changes

* Payment component rework

* Update apps/web/public/static/locales/en/common.json

Co-authored-by: Alex van Andel <me@alexvanandel.com>

* Update apps/web/public/static/locales/en/common.json

Co-authored-by: Alex van Andel <me@alexvanandel.com>

* Update apps/web/components/dialog/ChargeCardDialog.tsx

Co-authored-by: Alex van Andel <me@alexvanandel.com>

* Update packages/trpc/server/routers/viewer/payments.tsx

Co-authored-by: Alex van Andel <me@alexvanandel.com>

* Revert GTM config

* Adjust payment option dropdown

* Show alert when seats are set

* Small bug fixes

* Create collect card method

* clean up

* Prevent seats & charge no-show fee to be enabled together

* Do not charge no-show fee on unconfirmed bookings

* Add check to collect card method

* Webhook send request emails

* Fix some dark mode colours

* Change awaiting payment language

* Type fixes

* Set height of Select and TextField both to 38px to fix alignment

* Fix message seats & payment error message

* Type fix

---------

Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-04-11 23:44:14 +02:00
..
apiKeys.tsx fix deleting webhook (#7159) 2023-02-16 21:22:14 +01:00
apps.tsx Fix app not visible in app-store (#8202) 2023-04-11 14:58:57 +00:00
auth.tsx feat(web): improve session retrieval performance (#7584) 2023-03-10 23:45:24 +00:00
availability.tsx Fix/availability not loading (#7789) 2023-03-27 19:53:35 +00:00
bookings.tsx Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02:00
deploymentSetup.tsx Admin Wizard Choose License (#6574) 2023-02-07 17:23:42 -07:00
eventTypes.ts Fixes formatted description in email + sanitize html everywhere (#7928) 2023-03-28 09:40:13 +00:00
payments.tsx Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02:00
slots.tsx [CAL-988] Limit total appointment time per day/week/month/year (#7166) 2023-03-10 21:00:19 +01:00
sso.tsx Add Idp-Initiated SSO (#6781) 2023-03-07 14:31:39 -07:00
teams.tsx fix: remove validateSlug Query (#8015) 2023-04-03 16:37:58 +02:00
webhook.tsx refactor: cleanup use of rawInput and pipe mdwr in trpc router (#7422) 2023-02-28 14:40:19 -07:00
workflows.tsx Delay workflow email cancellation in sendgrid for all case (#7647) 2023-03-10 14:28:42 +00:00