Remove ExpectedAmountCents column reference (migration pending)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
695df9fc8e
commit
160144d40d
1 changed files with 2 additions and 4 deletions
|
|
@ -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" });
|
||||||
|
|
|
||||||
Reference in a new issue