Coder Social home page Coder Social logo

Comments (11)

nuxzero avatar nuxzero commented on September 25, 2024

Yes, you can test with real debit/credit cards in test mode.

from omise-android.

hamzabinamin avatar hamzabinamin commented on September 25, 2024

@nuxzero Thanks for the reply. Could you please let me know if my flow of using the gateway is correct?

  1. Capturing Card Details using my own card form.
  2. Creating the client object.
  3. Creating the token request object and saving the card details
  4. Then using the client request to send that token request.
  5. The received token is used to create the customer object in omise and I'm then saving that customer
    ID in my own db as well in order to reference the card for future use.

How can I then use this token to charge the client for a certain amount, lets say THB 50?

from omise-android.

nuxzero avatar nuxzero commented on September 25, 2024

from omise-android.

hamzabinamin avatar hamzabinamin commented on September 25, 2024

@nuxzero Is it possible to do the charge directly through the android SDK? Will all cards get charged successfully or will some require 3d secure as well?

from omise-android.

nuxzero avatar nuxzero commented on September 25, 2024

Q: Is it possible to do the charge directly through the Android SDK?
A: We does not provide SDK to make a charge on the client side. Our SDK provides Tokenization API to avoid sent credit card data to server-side https://www.omise.co/tokens-api.

Q: Will all cards get charged successfully or will some require 3d secure as well?
A: This depends on your account in approval KYC.

from omise-android.

hamzabinamin avatar hamzabinamin commented on September 25, 2024

@nuxzero
Q: But how can I charge an amount using the Tokenization API?
Q: What is approval KYC?

from omise-android.

chakrit avatar chakrit commented on September 25, 2024

@hamzabinamin The Tokenization API is not for charging. You can use the Charge API for that, which must be called from the server-side. The skey required to do so can also be used to make money transfer and perform other sensitive actions. So it is not possible to use them on the client-side.

Please check Collecting Cards docs for more info.

from omise-android.

chakrit avatar chakrit commented on September 25, 2024

@hamzabinamin For 3DS, this depends on your account settings and our KYC (know-your-customer) process when you apply for a live account. We require some merchants to enable 3DS to reduce fraud risk. Merchants who have 3DS enabled on their account will always have to do an authorization redirect. Otherwise, there will be no authorization step needed for credit cards and you can always charge in one HTTP call (provided you already have the token from your mobile app.)

from omise-android.

chakrit avatar chakrit commented on September 25, 2024

If you need more information about the KYC process or whether or not you need to worry about 3DS, please check with our support team: [email protected]

from omise-android.

hamzabinamin avatar hamzabinamin commented on September 25, 2024

@nuxzero @chakrit , we are looking to launch the app, I would like to convert the testing account into live account. What is the process for that? Currently I have used real credit cards using the Charge API and it works without enabling 3DS or any additional security. Should we expect the same behavior in the live environment? How can we check that?

We currently don't have a website, but we have our android and ios apps ready for upload. How can we move forward?

from omise-android.

nuxzero avatar nuxzero commented on September 25, 2024

@hamzabinamin, here are answers to your questions.

I would like to convert the testing account into live account. What is the process for that?

Currently, I have used real credit cards using the Charge API and it works without enabling 3DS or any additional security. Should we expect the same behaviour in the live environment? How can we check that?

  • You shouldn't expect the same behaviour about 3DS or any additional security in the live environment. If your account enable 3DS or required to enable it then you need to handle that case in the live environment. However, you can simulate the 3DS-like process by providing the authorize_url parameter when creating a charge in test mode

How can we check that?

  • You can check from the dashboard in live mode it should have transactions after you do a charge.

If you have any problem or question please don't hesitate to ask for help.

from omise-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.