mirror of
https://github.com/hanzoai/commerce.git
synced 2026-10-30 15:08:42 +00:00
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
19 lines
933 B
Go
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")
|
|
)
|