Skip to content

sart1991/flutter_kushki_library

Repository files navigation

flutter_kushki_library

This plugin has been created with the purpose of implementing the native kushki libraries.

Getting Started

Initializer, this should be called before any other process

{initKushki(String publicMerchantId, KushkiCurrency currency = KushkiCurrency.USD, KushkiEnv env = KushkiEnv.TESTING)}
returns KushkiResponse {code SUCCESS | ERROR, message String}

Tokenize a subscription token card

{requestSubscriptionToken(KushkiCard card)}
returns KushkiResponse {code SUCCESS | ERROR, token String, message String}

Web Config

If you want to implement KUSHKI from kushki.js, you must add Kushki cdn script at project file index.html, before main.dart.js
<script src="https://cdn.kushkipagos.com/kushki.min.js"></script>