Testing

Test Environment

Base URL: https://api-test.sweuze.com/v1

Test environment connects to provider sandboxes - no actual charges occur.

Payment Method Testing

  • MBWay: Use phone number in test mode
  • Multibanco: Generates test references
  • Neteller: Paysafe test credentials
  • Paysafecard: TrustPayments test vouchers

Pre-Production Checklist

  • Create payment intents successfully
  • Customer redirects work correctly
  • Return URLs handle all statuses
  • Webhooks received and validated
  • Orders fulfill only on payment.succeeded
  • Error scenarios handled gracefully
  • Signature validation implemented
  • Idempotency prevents duplicates
  • Monitoring configured

Going Live

  1. Configure merchant account in production environment
  2. Create API keys in production portal
  3. Update base URL to production
  4. Configure webhook endpoints and secrets
  5. Verify webhook accessibility from production
  6. Enable monitoring and alerting