Remove ExpectedAmountCents column reference (migration pending)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
John Mizerek 2026-02-17 14:31:30 -08:00
parent 695df9fc8e
commit 160144d40d

View file

@ -182,14 +182,12 @@ try {
abort; abort;
} }
// Store expected amount and PaymentIntent ID for webhook verification // Store PaymentIntent ID (ExpectedAmountCents requires migration)
queryExecute(" queryExecute("
UPDATE Orders UPDATE Orders
SET ExpectedAmountCents = :expectedCents, SET StripePaymentIntentID = :piID
StripePaymentIntentID = :piID
WHERE ID = :orderID WHERE ID = :orderID
", { ", {
expectedCents: totalAmountCents,
piID: piData.id, piID: piData.id,
orderID: orderID orderID: orderID
}, { datasource: "payfrit" }); }, { datasource: "payfrit" });