Several type fixes (#855)
* Several type fixes * Update ee/lib/stripe/client.ts Co-authored-by: Alex Johansson <[email protected]> * Typo * Refactors createPaymentLink * Simplify calendarClietn type Co-authored-by: Alex Johansson <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
6 files changed
+37
-24
No files matched your search
@@ -159,7 +159,12 @@ const BookingPage = (props: BookingPageProps) => {
|
||||
let successUrl = `/success?${query}`;
|
||||
|
||||
if (content?.paymentUid) {
|
||||
successUrl = createPaymentLink(content?.paymentUid, payload.name, date, false);
|
||||
successUrl = createPaymentLink({
|
||||
paymentUid: content?.paymentUid,
|
||||
name: payload.name,
|
||||
date,
|
||||
absolute: false,
|
||||
});
|
||||
}
|
||||
|
||||
await router.push(successUrl);
|
||||
|
||||
Reference in new issue
Block a user