sabpaisa 1.1.0 copy "sabpaisa: ^1.1.0" to clipboard
sabpaisa: ^1.1.0 copied to clipboard

Official Flutter/Dart SDK for SabPaisa Payment Gateway 2.0 — payments, refunds, transaction enquiry, webhook verification.

1.1.0 #

  • Added SabPaisaCheckout widget for in-app WebView checkout with UPI intent handling
  • Added CheckoutResult sealed class hierarchy (CheckoutCompleted, CheckoutError, CheckoutCancelled)
  • Handles UPI app launches (upi://, intent://, gpay://, phonepe://, etc.)
  • Intercepts both GET redirects and POST form submissions to the return URL
  • Includes double-fire guard, back-button handling, and web resource error reporting

1.0.1 #

  • Added udfFields support in CreatePaymentRequest for user-defined fields (udf1–udf20)

1.0.0 #

  • Initial release
  • Payment session creation with checksum
  • Return URL verification
  • Transaction enquiry
  • Refund creation, status, and listing
  • Webhook signature verification with replay protection
  • Full error hierarchy (SabPaisaError, ApiError, ChecksumError, ValidationError)
  • Retry with exponential backoff for safe/idempotent requests
  • Request timeout (30s default)
  • Timing-safe HMAC comparison
0
likes
160
points
117
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Official Flutter/Dart SDK for SabPaisa Payment Gateway 2.0 — payments, refunds, transaction enquiry, webhook verification.

Homepage
Repository (GitHub)
View/report issues

Topics

#payments #fintech #payment-gateway #sabpaisa

License

MIT (license)

Dependencies

crypto, flutter, http, url_launcher, uuid, webview_flutter

More

Packages that depend on sabpaisa