Comments (11)
Yes, you can test with real debit/credit cards in test mode.
from omise-android.
@nuxzero Thanks for the reply. Could you please let me know if my flow of using the gateway is correct?
- Capturing Card Details using my own card form.
- Creating the client object.
- Creating the token request object and saving the card details
- Then using the client request to send that token request.
- 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.
- Your flow look corrected.
- If you need to use token to charge the client. You need to implement charge on server side with Charge API https://www.omise.co/charging-cards.
from omise-android.
@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.
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.
@nuxzero
Q: But how can I charge an amount using the Tokenization API?
Q: What is approval KYC?
from omise-android.
@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.
@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.
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.
@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.
@hamzabinamin, here are answers to your questions.
I would like to convert the testing account into live account. What is the process for that?
- You need to activate your live account by visiting https://dashboard.omise.co/registrations
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)
- Android Java Code HOT 4
- by when Prompt Pay support will be released? HOT 1
- Error adding credit card HOT 2
- Your Jackson dependency is vulnerable with high severity level HOT 2
- Could we have DomStorage enable from WebView in AuthorizingPaymentActivity? HOT 3
- As an Omise developer, I want to add a new source type in minimum places
- android.content.res.Resources$NotFoundException HOT 3
- The SDK caused Glide to fail to load HOT 5
- Testing information for authorize url
- Duplicate class error HOT 4
- Failed to integrate version 4.8.0 HOT 1
- Google Play warning: com.google.android.gms:play-services-ads 18.3.0 is outdated HOT 4
- App crash when trying input special character in ExpiryDateEditText HOT 2
- play-services-ads ,The SDK version has been reported as outdated.
- okhttp3.HttpUrl okhttp3.Request.url()' on a null object reference HOT 2
- bg_edit_text_outlined.xml Compilation error HOT 3
- Request to support screenshot and video recording prevention HOT 1
- Wrong CardBrand Identification HOT 1
- Fatal Exception: java.lang.StackOverflowError stack size 1037KB HOT 10
- Charge Class not found as you mention in Charge api HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omise-android.