successUrl property

String successUrl
final

Callback that will be called after payment success note that this url preferred to return html content with success message

The api will call this url with a query string paymentId so the back end developer can validate the payment by following this docs

https://myfatoorah.readme.io/docs/api-payment-enquiry

Note

if this url is not using ssl you have to use clear text traffic . put this value in your manifest for android and allow arbitrary loads in your Info.plist for ios

Android

 <application
  ...
  android:usesCleartextTraffic="true"
  ...>
  ...
  </application>

Ios

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSAllowsArbitraryLoads</key>
    <true/>
</dict>

Implementation

final String successUrl;