flutter pub get, or use flutter pub add arto_sdk.⚠️ Important Get your publicKeyfrom ArtoPay merchant dashboard.
Then from your backend, hit ArtoPay's/v1/payment-itentsendpoint to retrievesecretTokenandintentIdvalues.
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
<data android:scheme="shopeepay" />
</intent>
</queries><key>LSApplicationQueriesSchemes</key>
<array>
<string>http</string>
<string>https</string>
</array>| Callback | Params | Description |
|---|---|---|
onSuccess | String | Payment is succesful |
onPending | String | Payment is pending |
onError | String | Payment is failed |
onClose | void | User closes payment page |