Git Product home page Git Product logo

Comments (7)

suhas-cashfree avatar suhas-cashfree commented on September 5, 2024 1

When you create order change x-api-version to 2023-08-01 and in the response you will get payment_session_id. Pass that instead of order_token

from react-native-cashfree-pg-sdk.

rajtessrac avatar rajtessrac commented on September 5, 2024

Working but after successful transaction I am getting only orderId is :order_1100582eX0SCpDAJThIWcxyIsdjrnhGMX

How do I get this type of json object {"orderAmount":"100.00","orderId":"1711968413","paymentMode":"DEBIT_CARD","referenceId":"14933917357","signature":"XGQeHHg877NV9Dm4fFwfAHqBYskTTEhGJ5fFMRfMWUc=","txMsg":"Transaction Successful","txStatus":"SUCCESS","txTime":"2024-04-01 16:17:06"}

from react-native-cashfree-pg-sdk.

suhas-cashfree avatar suhas-cashfree commented on September 5, 2024

We do not send the transaction status anymore from the SDK.

Now using the order_id, you have to make an API call. Check this API -> https://docs.cashfree.com/reference/pgorderfetchpayments

from react-native-cashfree-pg-sdk.

rajtessrac avatar rajtessrac commented on September 5, 2024

it's working but I am not getting any signatures like "signature": "XGQeHHg877NV9Dm4fFwfAHqBYskTTEhGJ5fFMRfMWUc=", how to I get this?

from react-native-cashfree-pg-sdk.

suhas-cashfree avatar suhas-cashfree commented on September 5, 2024

Get Payments for order requires your app-id and secret-key, signature verification is not required here.

from react-native-cashfree-pg-sdk.

rajtessrac avatar rajtessrac commented on September 5, 2024

I know I need signature for reference only and we will store into our local DB. so after transaction how do we get it?

from react-native-cashfree-pg-sdk.

suhas-cashfree avatar suhas-cashfree commented on September 5, 2024

You will not get it. Use the order to verify the payment status from your backend directly. No need to use signature anymore.
Make a server to server call from your backend to Cashfree and fetch the payments for order

from react-native-cashfree-pg-sdk.

Related Issues (20)

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.