2026-06-25 02:10:59 +02:00
2026-06-24 10:48:59 +02:00
2026-06-25 01:45:23 +02:00
2026-06-24 00:59:19 +02:00
2026-06-08 09:17:36 +02:00
2026-06-25 01:45:23 +02:00
2026-06-08 09:17:36 +02:00
2026-06-20 01:05:35 +02:00
2025-06-10 22:17:38 +02:00
2026-06-19 12:44:57 +02:00
2026-06-08 09:17:36 +02:00
2025-06-10 22:17:38 +02:00
2025-11-25 22:28:18 +02:00
2025-11-25 20:06:33 +02:00
2025-06-26 14:43:25 +02:00
2026-06-24 00:59:19 +02:00
2026-06-01 14:45:42 +02:00
2025-09-27 01:09:05 +02:00
2025-09-27 01:09:05 +02:00
2026-06-05 20:25:20 +02:00
2026-06-25 02:10:59 +02:00
2026-06-24 18:01:34 +02:00
2026-06-24 18:01:34 +02:00
2026-03-27 19:46:45 +02:00

qpay-peak-flutter

Environment Switching (Test vs Live)

Environment selection is command-driven with --dart-define=APP_ENV=....

  • APP_ENV=test loads assets/.env.test
  • APP_ENV=live loads assets/.env.live
  • If APP_ENV is not provided, default is test

For web, Mastercard Checkout is loaded dynamically from GATEWAY_SCRIPT_URL in the active env file, so web/index.html no longer needs manual test/live script edits.

Env files

Set environment-specific values in:

  • assets/.env.test
  • assets/.env.live

Supported keys:

  • BASE_URL
  • CLIENTID
  • SIMULATE_PAYMENT_SUCCESS
  • GATEWAY_SCRIPT_URL

Run in Test

flutter run --dart-define=APP_ENV=test

Run in Live

flutter run --dart-define=APP_ENV=live

Build in Live

flutter build web --dart-define=APP_ENV=live
flutter build apk --dart-define=APP_ENV=live

Quick pre-release checks

  • Confirm assets/.env.live points to the live API (BASE_URL).
  • Confirm assets/.env.live has SIMULATE_PAYMENT_SUCCESS=false.
  • Confirm assets/.env.live uses live gateway script URL in GATEWAY_SCRIPT_URL.
Description
Velocity Pay Flutter
Readme 18 MiB
Languages
Dart 91.7%
C++ 3.8%
CMake 3.1%
Swift 0.4%
HTML 0.4%
Other 0.6%