esewa_flutter 3.0.1
esewa_flutter: ^3.0.1 copied to clipboard
An un-official Flutter plugin for eSewa Payment Gateway, integrate with ease and without any hassle.
1.0.0 #
- Initial release of the
esewa_flutterpackage.
1.0.1 #
- Updated README.md file with more detailed instructions on how to use the package.
1.1.0 #
- Added
EsewaPayButtonwidget for ease of initiating payments. - Updated README.md file with documentation for
EsewaPayButtonand instructions on how to add a cover image. - Added example images to the README.md file.
- Minor bug fixes.
1.1.1 #
- Minor bug fixes.
- Updated README.md file, removed un-necessary mentions
1.1.2 #
- Made minimum
FlutterSDK requirement 3. - Example project bug fixes
2.0.0 #
- Migrates to Dart SDK
3.5.3and Flutter3.24.3 - Updated
flutter_inappwebview:^5.7.2+3to version^6.1.5
3.0.0 #
- Migrate to eSewa v2 form API with server endpoints (RC/Live)
- New configuration model
ESewaConfig.dev/livewith fields:amount,taxAmount,productServiceCharge,productDeliveryCharge,totalAmountproductCode,transactionUuid,successUrl,failureUrl,signedFieldNames,secretKey,serverUrl
- HMAC-SHA256 signature generation moved to Dart
- WebView now posts
application/x-www-form-urlencodeddirectly to v2 endpoint - Success redirect returns only base64
data; plugin surfacesEsewaPaymentResponse(data) - Failure redirect surfaces error message (if present) or a generic message
- Handle completion strictly on redirects to
successUrl/failureUrland prevent double pops - Add dependency:
cryptofor HMAC signature - Breaking changes:
- Removed legacy params (
scd,pid,su,fu,tAmt,txAmt,psc,pdcnames in public API) EsewaPaymentResponsenow only exposesdata(base64)- Older URL query-style flow replaced with form POST + signature
- Removed legacy params (
3.0.1 #
- update response integrity verification guide and transaction status enquiry endpoints in readme
