cal.pub0.org/apps/web/components/booking
Joe Au-Yeung b0530d59af
Remove Intl.Provider (#8208)
* 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

* Remove Intl.Provider

* Add percentFeePercentage

* WIP

* Use i18n language

* Type fix

---------

Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Omar López <zomars@me.com>
2023-04-19 21:38:06 +00:00
..
pages Remove Intl.Provider (#8208) 2023-04-19 21:38:06 +00:00
AvailableEventLocations.tsx fix: frontend issues and dark mode regressions (#8373) 2023-04-19 12:14:59 +02:00
AvailableTimes.tsx Feature: Reserve slots currently being booked (#6909) 2023-04-13 19:55:26 +00:00
BookingDescription.tsx fix: clock icon size in booker page (#8249) 2023-04-13 20:08:09 +02:00
BookingDescriptionPayment.tsx Remove Intl.Provider (#8208) 2023-04-19 21:38:06 +00:00
BookingListItem.tsx fix: undo showRecordingsButton (#8262) 2023-04-17 16:19:24 +00:00
CancelBooking.tsx Fix/Keep themes in peace across embed and booking pages and App (#8108) 2023-04-17 17:46:54 +05:30
SkeletonLoader.tsx Feat/tokens + darkmode + theme support (#7876) 2023-04-05 18:14:46 +00:00
SlotPicker.tsx Feature: Reserve slots currently being booked (#6909) 2023-04-13 19:55:26 +00:00
TimeOptions.tsx Feat/tokens + darkmode + theme support (#7876) 2023-04-05 18:14:46 +00:00
TimezoneDropdown.tsx Replace react icons with lucidedev (#8146) 2023-04-12 17:26:31 +02:00
UserAvatars.tsx Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00