Giter VIP home page Giter VIP logo

Comments (5)

steveamaza avatar steveamaza commented on June 3, 2024

Hello @AdityaLabhade , the documentation states that amount is sent in kobo. If you do not convert it to naira by first multiplying it by 100, what you are effectively doing is sending 3500 kobo which is equal to N35. Please close this issue as it is not a bug and instead multiply your values by 100 before passing it on to the API.

from paystack-android.

AdityaLabhade avatar AdityaLabhade commented on June 3, 2024

Solved my problem,
Thank you..

from paystack-android.

IDFDeveloper avatar IDFDeveloper commented on June 3, 2024

I have successfully integration the PayStack in android platform. How to pass 1500.50 INR amount using it. I have checked in the PayStack SDK that Charge.setAmount is supported only Integer value. When I pass 1000 or something like that kind of amount which is not contain any fraction value then it working fine.

from paystack-android.

steveamaza avatar steveamaza commented on June 3, 2024

Hi @IDFDeveloper, in that case, pass 150050. The currency is passed in the subunit of the currency, not the main unit

from paystack-android.

IDFDeveloper avatar IDFDeveloper commented on June 3, 2024

@steveamaza Thank you so much for your reply. I have another question that If I want to pay $100 then how I can send that amount because there is no any option where I will set currency type. I mean user is request to pay amount in dollar($), nigerian (NGN), INR, etc. ? I have checked belowe are the documents.

Document 1,
Question 1 and Question 2

Help would be very appreciate.... :)

from paystack-android.

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.