direct_pay_core 0.0.1 copy "direct_pay_core: ^0.0.1" to clipboard
direct_pay_core: ^0.0.1 copied to clipboard

Core payment engine for Direct Pay (S2S) — server-to-server payment SDK for Flutter with SHA-512 hashing, 3D Secure WebView, and structured logging.

Changelog #

0.0.1 #

  • Initial release of the core payment engine.
  • Server-to-server payment initiation via Dio HTTP client.
  • Configurable hash algorithm: SHA-512 (default) and SHA-256.
  • Sorted key-value hash generation with constant-time response verification.
  • 3D Secure challenge flow via in-app WebView.
  • Configurable SDK setup: appId, merchantKey, baseUrl, optional returnUrl.
  • HTTPS enforcement with runtime validation.
  • Input validation: Luhn check, CVV/expiry format, email, amount.
  • Sensitive data masking in debug logs (card number, CVV, expiry, hash).
  • Debug-only structured logging via DirectPayLogger.
  • WebView hardened: non-HTTPS schemes blocked, permissions denied, file access disabled.
  • merchantKey marked @internal — not exposed to host apps.
  • Clean architecture: config, data, domain, and presentation layers.
0
likes
140
points
97
downloads

Documentation

API reference

Publisher

verified publishermobintix.com

Weekly Downloads

Core payment engine for Direct Pay (S2S) — server-to-server payment SDK for Flutter with SHA-512 hashing, 3D Secure WebView, and structured logging.

Repository (GitHub)
View/report issues

Topics

#payments #payment-gateway #three-d-secure

License

MIT (license)

Dependencies

crypto, dio, flutter, flutter_inappwebview, freezed_annotation, html, json_annotation, url_launcher

More

Packages that depend on direct_pay_core