0 purchases
tamara sdk legacy
Integrate Tamara Checkout Flow into Flutter App
Features #
Add callback for checkout flows:
onPaymentSuccess
onPaymentFailed
onPaymentCanceled
Getting started #
Add sdk to your pubspec.yaml file
dependencies:
flutter:
sdk: flutter
tamara_sdk_legacy: ^0.9.1
copied to clipboard
Get URLs #
Your Back End must call our Api for generating:
Checkout URL
Success URL
Failed URL
Canceled URL
Usage #
Include TamaraCheckout in your Widget builder
Expanded(
child: TamaraCheckout(
checkoutUrl
successUrl,
failedUrl,
canceledUrl,
onPaymentSuccess: () {
_onPaymentSuccess();
},
onPaymentFailed: () {
_onPaymentFailed();
},
onPaymentCanceled: () {
_onPaymentCanceled();
},
)
);
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.