We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04329f3 commit bdd94eeCopy full SHA for bdd94ee
utils/functions/functions.js
@@ -236,9 +236,8 @@ export const getFormattedCart = (data) => {
236
};
237
238
export const createCheckoutData = (order) => {
239
- const checkoutData = {
+ return {
240
clientMutationId: uuidv4(),
241
-
242
billing: {
243
firstName: order.firstName,
244
lastName: order.lastName,
@@ -270,8 +269,6 @@ export const createCheckoutData = (order) => {
270
269
isPaid: false,
271
transactionId: 'hjkhjkhsdsdiui',
272
273
274
- return checkoutData;
275
276
277
/**
0 commit comments