flutter_yengapay_checkout 0.1.1+1 copy "flutter_yengapay_checkout: ^0.1.1+1" to clipboard
flutter_yengapay_checkout: ^0.1.1+1 copied to clipboard

Flutter YengaPay package

Flutter Yengapay Checkout #

style: very good analysis Powered by Mason License: MIT

Flutter YengaPay package

Installation ๐Ÿ’ป #

โ— In order to start using Flutter Yengapay Checkout you must have the Flutter SDK installed on your machine.

Install via flutter pub add:

dart pub add flutter_yengapay_checkout

How to use yenga pay sdk #

To use the FlutterYengaPayCheckoutPage, you need to provide the necessary parameters such as yengaPayOrganisationId, yengaPayProjectId, yengaPayApiKey, and paymentIntentData. yengaPayOrganisationId, yengaPayProjectId, and yengaPayApiKey should be obtained from YengaPay. These are confidential credentials that must be managed securely. It is recommended to use the dotenv plugin to manage these secrets. visit https://yengapay.com/ or https://www.notion.so/kreezus/DOCUMENTATION-API-YENGAPAY-KREEZUS-e9de95e48d504110aa048261a200292a for more informations

Continuous Integration ๐Ÿค– #

Flutter Yengapay Checkout comes with a built-in GitHub Actions workflow powered by Very Good Workflows but you can also add your preferred CI/CD solution.

Out of the box, on each pull request and push, the CI formats, lints, and tests the code. This ensures the code remains consistent and behaves correctly as you add functionality or make changes. The project uses Very Good Analysis for a strict set of analysis options used by our team. Code coverage is enforced using the Very Good Workflows.


Running Tests ๐Ÿงช #

For first time users, install the very_good_cli:

dart pub global activate very_good_cli

To run all unit tests:

very_good test --coverage

To view the generated coverage report you can use lcov.

# Generate Coverage Report
genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
open coverage/index.html