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;
}
// 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" });