Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 906 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 906 Bytes

MercadoPago

TODO: Add description

Installation

If available in Hex, the package can be installed by adding mercado_pago to your list of dependencies in mix.exs:

def deps do
  [
    {:mercado_pago, "~> 0.1.0"}
  ]
end

#Config

On your proyect go to config/config.exs and add mercado pago api credentials (basic checkout). If you need to know how to do it visit this link

config :mercado_pago, client_id: System.get_env("MP_CLIENT_ID")
config :mercado_pago, client_secret: System.get_env("MP_CLIENT_SECRET")

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/mercado_pago.