Skip to content

Commit dcc6f5f

Browse files
committed
hhh
1 parent a52d245 commit dcc6f5f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/app/api/checkout/complete/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export async function POST(request: NextRequest) {
8585
const pricing = await calculateCheckoutPricing(
8686
storeId,
8787
input.items,
88-
{ name: input.shippingMethod, cost: 0 }, // Shipping method details will be resolved server-side
88+
{ id: input.shippingMethod, cost: 0 }, // Shipping method details will be resolved server-side
8989
input.discountCode
9090
);
9191

@@ -159,7 +159,7 @@ export async function POST(request: NextRequest) {
159159
// Return standardized success response (FR-008)
160160
return successResponse(
161161
order,
162-
{ message: 'Order created successfully', statusCode: 201 }
162+
{ message: 'Order created successfully', status: 201 }
163163
);
164164
} catch (error) {
165165
// Standardized error handling (FR-008)

tsconfig.tsbuildinfo

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)