piprapay 1.0.0
piprapay: ^1.0.0 copied to clipboard
A professional, production-ready Flutter package for integrating Piprapay payment gateway. Complete support for V2 and V3+ APIs with payment creation, verification, refunds, webhook validation, and co [...]
We analyzed this package 8 days ago, and awarded it 140 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
139 out of 299 API elements (46.5 %) have documentation comments.
Some symbols that are missing documentation: piprapay.CreateChargeRequest.CreateChargeRequest.fromJson, piprapay.CreateChargeRequest.CreateChargeRequest.new, piprapay.CreateChargeRequest.toJson, piprapay.CreateChargeRequestV2.CreateChargeRequestV2.fromJson, piprapay.CreateChargeRequestV2.CreateChargeRequestV2.new.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:piprapay/piprapay.dartthat imports:package:piprapay/src/ui/index.dartthat imports:package:piprapay/src/ui/payment_webview_handler.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:piprapay/piprapay.dartthat imports:package:piprapay/src/ui/index.dartthat imports:package:piprapay/src/ui/payment_webview_handler.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Web`.
Because:
package:piprapay/piprapay.dartthat imports:package:piprapay/src/ui/index.dartthat imports:package:piprapay/src/ui/payment_webview_handler.dartthat imports:package:webview_flutter/webview_flutter.dartthat declares support for platforms:Android,iOS,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Dangling library doc comment.
lib/src/models/piprapay_models_v3.dart:4:1
╷
4 │ /// All V3+ endpoints use: pp_id (Piprapay ID) instead of transaction_id
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/piprapay_models_v3.dart
INFO: 'onPopInvoked' is deprecated and shouldn't be used. Use onPopInvokedWithResult instead. This feature was deprecated after v3.22.0-12.0.pre.
lib/src/ui/payment_webview_handler.dart:181:7
╷
181 │ onPopInvoked: (didPop) {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/payment_webview_handler.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
webview_flutter |
^4.2.0 |
4.13.1 | 4.13.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
webview_flutter_android |
- | 4.10.15 | 4.10.15 | |
webview_flutter_platform_interface |
- | 2.15.1 | 2.15.1 | |
webview_flutter_wkwebview |
- | 3.24.2 | 3.24.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.12, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.