cal.pub0.org/packages
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
..
app-store Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02:00
app-store-cli Fix: AppStore CLI Create command not working after upgrading to yarn 3 (#7975) 2023-03-28 10:25:51 +00:00
config Feat/tokens + darkmode + theme support (#7876) 2023-04-05 18:14:46 +00:00
core Wrap useSuspense with NoSSR (#8079) 2023-04-11 21:49:27 +05:30
dayjs Techdebt/bundle size experiments (#7894) 2023-03-23 11:49:28 -07:00
emails Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02:00
embeds Feat/tokens + darkmode + theme support (#7876) 2023-04-05 18:14:46 +00:00
eslint-plugin Upgrades yarn v1 to v3. Improves CI times by 2x (#7738) 2023-03-15 15:01:04 -07:00
features Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02:00
lib Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02:00
prisma Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02:00
trpc Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02:00
tsconfig We're not ready for this yet 2022-11-22 20:02:40 -07:00
types Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02:00
ui Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02:00