Merge branch 'develop' into feature/MED-129
This commit is contained in:
@@ -7,7 +7,12 @@ import { getCartId } from '@lib/data/cookies';
|
||||
import { StoreCartLineItem, StoreProductVariant } from '@medusajs/types';
|
||||
import { isSameMinute } from 'date-fns';
|
||||
import { z } from 'zod';
|
||||
import { cancelReservation, getOrderedTtoServices } from '~/lib/services/reservation.service';
|
||||
|
||||
import {
|
||||
cancelReservation,
|
||||
getOrderedTtoServices,
|
||||
} from '~/lib/services/reservation.service';
|
||||
|
||||
import { createCartEntriesLog } from './audit/cartEntries';
|
||||
import { getAvailableAppointmentsForService } from './connected-online.service';
|
||||
|
||||
@@ -131,11 +136,11 @@ export async function handleNavigateToPayment({
|
||||
locale: language,
|
||||
merchantReference: `${account.id}:${paymentSessionId}:${cart.id}`,
|
||||
});
|
||||
|
||||
await createCartEntriesLog({
|
||||
operation: 'NAVIGATE_TO_PAYMENT',
|
||||
accountId: account.id,
|
||||
cartId: cart.id,
|
||||
|
||||
await createCartEntriesLog({
|
||||
operation: 'NAVIGATE_TO_PAYMENT',
|
||||
accountId: account.id,
|
||||
cartId: cart.id,
|
||||
});
|
||||
|
||||
return { url: paymentLink };
|
||||
@@ -158,4 +163,4 @@ export async function handleLineItemTimeout({
|
||||
accountId: account.id,
|
||||
cartId: lineItem.cart_id,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user