Comprehensive guide to handling errors gracefully and debugging common issues with AnySpend
Status | Description | User Action Required |
---|---|---|
scanning_deposit_transaction | Waiting for payment confirmation | None - wait for blockchain confirmation |
waiting_stripe_payment | Processing credit card payment | May need to complete 3D Secure |
sending_token_from_vault | Sending tokens for swap | None - automatic process |
relay | Cross-chain transaction in progress | None - wait for completion |
executed | Transaction completed successfully | None - success! |
expired | Order expired before completion | Create new order |
refunding | Automatic refund in progress | None - wait for refund |
refunded | Refund completed | Check wallet for refunded tokens |
failure | Transaction failed | Review error details, retry |
INSUFFICIENT_BALANCE
INVALID_TOKEN_ADDRESS
MINIMUM_AMOUNT_NOT_MET
MAXIMUM_AMOUNT_EXCEEDED
SLIPPAGE
NETWORK_ERROR
QUOTE_EXPIRED
CHAIN_NOT_SUPPORTED
CONTRACT_CALL_FAILED
INSUFFICIENT_GAS
NONCE_TOO_LOW
TRANSACTION_REVERTED
Always Provide User Feedback
Implement Retry Logic
Log Errors for Monitoring
Graceful Degradation