Files
commerce/thirdparty/authorizenet/errors.go
zeekay 1943f1c093 Hanzo Commerce
Multi-tenant commerce and billing: orders, subscriptions, invoices, plans,
usage metering and a credit ledger. One Go binary. MIT OR Apache-2.0.

Claude-Session: https://claude.ai/code/session_01SAtaDFm8VDiWrhYHNNtxMw
2026-09-23 21:52:16 -07:00

19 lines
933 B
Go

package authorizenet
import (
"errors"
)
var (
FailedToCreateCustomerError = errors.New("Failed to create Authorize customer.")
FailedToUpdateCustomerError = errors.New("Failed to update Authorize customer.")
MinimumRefundTimeNotReachedError = errors.New("Minimum refund time not reached.")
AuthorizeNotApprovedError = errors.New("Authorize attempt rejected")
CaptureNotApprovedError = errors.New("Capture attempt rejected")
ChargeNotApprovedError = errors.New("Capture attempt rejected")
RefundGreaterThanPaymentError = errors.New("The requested refund amount is greater than the paid amount")
UnableToRefundUnpaidTransactionError = errors.New("Unable to refund unpaid transaction")
NewSubscriptionFailedError = errors.New("NewSubscription Failed Error")
UpdateSubscriptionFailedError = errors.New("UpdateSubscription Failed Error")
)