LINE Pay

simple HTTP client for LINE Pay.

Installation

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

Configuration

use Mix.Config

config :line_pay,
  channel_id: 999999999,
  channel_secret: "YOUR CHANNEL SECRET",
  sandbox: true,
  confirm_url_browser: "",
  confirm_url_ios: "",
  confirm_url_android: "",
  cancel_url_ios: "",
  cancel_url_android: ""
  

sandbox: default value is true channel_secret: you can use environment variables.

export CHANNEL_SECRET="YOUR CHANNEL SECRET"

License

MIT