rm -rf amount in db
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled

This commit is contained in:
guwandyk committed 2026-09-19 12:16:24 +05:00
1 parent 45378559ca
commit 87e4b33322
11 files changed
+48 -35

No files matched your search

+4 -6
View File
@@ -9,12 +9,10 @@ import (
// was paid by a concurrent request that won the race).
var ErrAlreadyPaid = errors.New("order already paid")
// ErrAmountNotSet is returned when the order has no amount_usd set yet.
var ErrAmountNotSet = errors.New("order has no requested amount")
// ErrAmountExceedsMax is returned when the submitted amountTmt is above
// what the order's amount_usd converts to at the current rate.
var ErrAmountExceedsMax = errors.New("amount exceeds the order's requested amount")
// ErrAmountExceedsMax is returned when the submitted amountTmt is above the
// admin-configured max amount (settings.MaxAmountUsd) converted at the
// current rate.
var ErrAmountExceedsMax = errors.New("amount exceeds the configured max amount")
// ErrPaymentNotFound is returned when a callback references a payment
// attempt id that doesn't exist.