From 160144d40d70e9153d6cab062d886505bc59c4af Mon Sep 17 00:00:00 2001 From: John Mizerek Date: Tue, 17 Feb 2026 14:31:30 -0800 Subject: [PATCH] Remove ExpectedAmountCents column reference (migration pending) Co-Authored-By: Claude Opus 4.5 --- api/stripe/createPaymentIntent.cfm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/api/stripe/createPaymentIntent.cfm b/api/stripe/createPaymentIntent.cfm index a02849f..c4bc942 100644 --- a/api/stripe/createPaymentIntent.cfm +++ b/api/stripe/createPaymentIntent.cfm @@ -182,14 +182,12 @@ try { abort; } - // Store expected amount and PaymentIntent ID for webhook verification + // Store PaymentIntent ID (ExpectedAmountCents requires migration) queryExecute(" UPDATE Orders - SET ExpectedAmountCents = :expectedCents, - StripePaymentIntentID = :piID + SET StripePaymentIntentID = :piID WHERE ID = :orderID ", { - expectedCents: totalAmountCents, piID: piData.id, orderID: orderID }, { datasource: "payfrit" });