Giter VIP home page Giter VIP logo

cashfree / nextgen-android Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 5.0 46.88 MB

Sample app demonstrating integration of Cashfree's payment gateway in your Android project

Home Page: https://docs.cashfree.com/docs/android-integration

License: Apache License 2.0

Java 45.48% Kotlin 54.52%
android-library card emi net-banking pay-later payment-gateway payment-integration payments upi wallets

nextgen-android's People

Contributors

aabhasr1 avatar arjun-cashfree avatar kishan-cashfree avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nextgen-android's Issues

Internal server error on Test app in SANDBOX environment

SQLiteDatabase: Error inserting source=android contexts={"app":{"app_identifier":"com.honebi.ratnadeep.test","app_name":"Ratnadeep - Test","app_version":"1.0 - test - 24112022","app_build":2,"type":"app"},"os":{"name":"Android","version":"10","build":"QPTS30.61-18-16-19","kernel_version":"4.4.192-perf+","rooted":false,"type":"os"},"device":{"name":"motorola one power","family":"motorola","model":"motorola one power","model_id":"QPTS30.61-18-16-19","orientation":"portrait","manufacturer":"motorola","brand":"motorola","screen_density":3,"screen_dpi":480,"screen_height_pixels":2016,"screen_width_pixels":1080,"id":"02871343-72e0-4a49-9694-220069f89e85","timezone":"Asia/Calcutta","archs":["arm64-v8a","armeabi-v7a","armeabi"],"language":"en","locale":"en_US","type":"device"}} sdk_version=10100 environment=SANDBOX _id=rbcl1XGeMut7SJnLRf6s request_id=cmJjbDFYR2VNdXQ3U0puTFJmNnMrU0FOREJPWA== timestamp=1669273715743 [email protected]+10100
android.database.sqlite.SQLiteConstraintException: NOT NULL constraint failed: PAYMENT_EVENT.app_id (code 1299 SQLITE_CONSTRAINT_NOTNULL)
at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:879)
at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:790)
at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:88)
at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1599)
at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1468)
at com.cashfree.pg.cf_analytics.CFAnalyticsDatabase.lambda$addPaymentEvent$0$com-cashfree-pg-cf_analytics-CFAnalyticsDatabase(CFAnalyticsDatabase.java:48)
at com.cashfree.pg.cf_analytics.CFAnalyticsDatabase$$ExternalSyntheticLambda6.run(Unknown Source:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)

ConfigRequestHandler E onError : {"message":"Internal Server Error"}

token is not present

I have cross checked that both app and backend have sandbox but in Android I am getting the below error.
But not getting error in iOS
I have tested one another scenario like generated sessionID in android side and set static same sessionID in iOS side and check and again work in iOS not not work in android
I was using web checkout payment method
onError : {"message":"token is not present","code":"order_token_invalid","type":"request_failed"}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.