UoaWDCC / uasc-web

Project with the University of Auckland Snowsports Club Website & Booking System. Established in 2023.
https://uasc.co.nz
6 stars 2 forks source link

booking payment endpoint #389

Closed jeffplays2005 closed 4 months ago

jeffplays2005 commented 5 months ago

Endpoint to create checkout sessions for bookings

Bulk of work done by @jeffplays2005

This endpoint meets the requirements of:

Recording of operation

Normal Date Range

bookingsendpoint

Single Friday/Saturday

Note the stripe product is incorrectly called weekend but the logic concerning it is the same

singlefriday

github-actions[bot] commented 4 months ago

Visit the preview URL for this PR (updated for commit 8ca2507):

https://uasc-ceebc--pr389-129-booking-payment-rptg958e.web.app

(expires Thu, 20 Jun 2024 06:26:18 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 36296ceaed1d43e92e7d5e81a72a7bd987560bfa

bcho892 commented 4 months ago

Overall rly good job @jeffplays2005, I just had to go through to fix some small errors 👍

bcho892 commented 4 months ago

timestamp script documented in https://github.com/UoaWDCC/uasc-web/wiki/Testing-and-Mocking#swagger-compatiable-timestamps