Coder Social home page Coder Social logo

Comments (11)

pitiphong-p avatar pitiphong-p commented on September 26, 2024

Hi @VIjendraSalve, Omise doesn't encourage a merchant to create a charge on the client due to the security concern. The recommend approach is to create a token with Omise Android SDK and then send the Token ID to the merchant backend and create a charge from there.

from omise-android.

VIjendraSalve avatar VIjendraSalve commented on September 26, 2024

from omise-android.

pitiphong-p avatar pitiphong-p commented on September 26, 2024

A merchant need to have a server to communicate with Omise API and the credit card data must not be sent to their server. You can tokenize the credit card information on the client using Omise Android SDK which you will get a Token data then you can send you token ID to your server and have your server to communicate to create charge with Omise API

You can see more information on https://www.omise.co/collecting-card-information

from omise-android.

VIjendraSalve avatar VIjendraSalve commented on September 26, 2024

from omise-android.

pitiphong-p avatar pitiphong-p commented on September 26, 2024

You need to send the Token ID to your server and have your server to call Omise API to create a charge via the Charge API https://www.omise.co/charges-api

from omise-android.

VIjendraSalve avatar VIjendraSalve commented on September 26, 2024

from omise-android.

igroomgrim avatar igroomgrim commented on September 26, 2024

You can find in Create a charge - Section.
We provide examples to create a charge below this section.
create_charge_examples
🙇

from omise-android.

VIjendraSalve avatar VIjendraSalve commented on September 26, 2024

from omise-android.

nuxzero avatar nuxzero commented on September 26, 2024

Sorry, this example is for omise-java dependency on the server side for the case that you implement your server in Java.

from omise-android.

VIjendraSalve avatar VIjendraSalve commented on September 26, 2024

from omise-android.

nuxzero avatar nuxzero commented on September 26, 2024

You can check from explained in above #96 (comment) 🙂

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.