Common integration errors and solutions for SDKs
Integration errors due to outdated SDK versions.
NOT_AVAILABLE isn’t a trusted source, app should be installed from play store or another whitelisted app
NDK version mismatch error with flutter_cashfree_pg_sdk
ndk.dir=/path/to/ndk/<required_version>
Gradle build error: Could not resolve com.cashfree.pg:api...
google()
mavenCentral()
maven { url "https://jitpack.io" }
How to initialise payment using cashfree_pg_sdk
CashfreePGSDK.doPayment(orderId, setEnvironment, setPaymentSessionId);
orderId
and paymentSessionId
are securely generated from your backend.setEnvironment
is either SANDBOX
or PRODUCTION
.Why don’t UPI apps launch in test mode?
SDK shows strange or inconsistent errors
flutter clean
flutter pub get
.gradle/
.idea/