Skip to content

joeesteves/mercado_pago

Repository files navigation

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.