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;
|
||||
}
|
||||
|
||||
// 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" });
|
||||
|
|
|
|||
Reference in a new issue