Giter Club home page Giter Club logo

Comments (5)

lu1s avatar lu1s commented on September 3, 2024

@channgli the amount needs to be in cents. Eg, 250 mexican pesos would be 25000. Please comment if this still an issue.

from conekta-java.

channgli avatar channgli commented on September 3, 2024

@lu1s I try use 400, more than 300. but it still failed.
image

@lu1s can you give me the example of the request ?

I use below customers, just informal card number, is that ok?
image

from conekta-java.

lu1s avatar lu1s commented on September 3, 2024

@channgli This would be a correct request body for an order creation with charge:

{
  "line_items": [
    {
      "description": "Autem eaque nulla quo iure facere eligendi id dicta.",
      "name": "Bernardo Tirado Ponce",
      "quantity": 1,
      "unit_price": 400
    }
  ],
  "shipping_lines": [
    {
      "amount": 0,
      "carrier": "8msqtma7pd",
      "method": "xuo5umtx5s",
      "tracking_number": "bak7pn8s37"
    }
  ],
  "customer_info": {
    "email": "[email protected]",
    "name": "limo lomo",
    "phone": "5554589994"
  },
  "shipping_contact": {
    "address": {
      "city": "Red Deer",
      "country": "AS",
      "residential": true,
      "state": "Alberta",
      "street1": "Alexis St",
      "street2": "250",
      "postal_code": "72894"
    },
    "between_streets": "Kurt Gödel, David Hilbert, Wilhelm Ackermann",
    "phone": "+1-202-555-0142",
    "receiver": "Olivia Merino Heredia"
  },
  "currency": "mxn",
  "charges": [
    {
      "payment_method": {
        "type": "card",
        "token_id": "tok_test_visa_4242"
      }
    }
  ]
}

from conekta-java.

channgli avatar channgli commented on September 3, 2024

Hi @lu1s ,
I use your request, it still exist this issue. see below. This is in test mode, does the conekta limit these amount or not ?

image

from conekta-java.

lu1s avatar lu1s commented on September 3, 2024

#70

from conekta-java.

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.