{"repo":"iamngoni/pesepay","free":true,"listed":false,"github":"https://github.com/iamngoni/pesepay","clone":"git clone https://github.com/iamngoni/pesepay.git","description":"Pesepay helps businesses in Africa get paid by anyone, anywhere in the world","language":"Dart","stars":13,"topics":["africa","dart","dartlang","flutter","gateway","iamngoni","payments","zimbabwe","pesepay","business"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Pesepay [![style: very good analysis][very good analysis badge]][very good analysis link] [![License: MIT][license badge]][license link] Pesepay helps businesses in Africa get paid by anyone, anywhere in the world This is still WIP! Try out and contribute where you can. Installation 💻 ❗ In order to start using Pesepay you must have the [Dart SDK][dart install link] installed on your machine. Add pesepay to your pubspec.yaml : Install it: --- Usage 🔥 Import package Declare and initialize Get list of active currencies Sample Currency Get list of payment methods for selected currency Sample PaymentMethod Perform Web Transaction This relies on the returned web redirectUrl that customers can use to complete the transaction First step would be to create the transaction: Then process the transaction: If the above execution results in any error either within the package itself or from the Pesepay server side you should except a PesepayException . So it would be helpful to handle that. Perform Seamless Transaction First step here would be to create the transaction: Process the seamless transaction: Check transaction status Serverless Checkout ? Instead of using delays to check transaction status you can also stream the TransactionResponse using the poll url. - pesepay.streamTransactionResponse(..) takes a required pollUrl string and optional streamInterval in seconds which is the interval to poll the url, default to 20 sec - You can stream status and show current transaction status ","default_branch":null,"files":null,"tree":[],"storefront":"/r/iamngoni","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/iamngoni/pesepay/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}