Skip to main content
Version: 2.0

Support And Best Practices

Best Practices for Integration

Before Proceeding to support and troubleshooting, here are some best practices to consider when integrating with the Al Qaseh Payment Gateway.

Timeouts and Retries

Implement Retry Logic: Set up retry logic for any failed API calls, especially for network-related errors or timeouts.

  • Recommended: Exponential backoff strategy for retrying API requests.

Secure Storage of Tokens and Secrets

Safeguard Sensitive Data: Store all API keys, tokens, and secrets securely.

  • Avoid hard-coding these in source code.
  • Use environment variables or secret management tools to protect sensitive data.

Logging and Monitoring

Log All API Requests and Responses: Keep logs of all outgoing and incoming API calls.

  • Logs are crucial for debugging, auditing, and troubleshooting integration issues.
  • Mask sensitive information, such as card data, in your logs to maintain compliance with PCI standards.

Handling Failed Transactions

User-Friendly Handling: Implement processes to handle declined, failed, or timed-out transactions.

  • Display appropriate messages to customers if a payment fails, encouraging them to retry or use another payment method.
  • Use the retry endpoint for payment failures whenever applicable.

Support

For additional help or to report technical issues, reach out to Al Qaseh Support:

If you encounter any issues or need support, feel free to reach out using the provided contact information.