sabpaisa 1.1.0
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
SabPaisaCheckoutwidget for in-app WebView checkout with UPI intent handling - Added
CheckoutResultsealed 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
udfFieldssupport inCreatePaymentRequestfor 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