https://github.com/yuki-toida/line_pay
https://github.com/yuki-toida/line_pay
elixir
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yuki-toida/line_pay
- Owner: yuki-toida
- License: mit
- Created: 2018-04-20T01:30:52.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-02T02:40:22.000Z (almost 8 years ago)
- Last Synced: 2025-09-23T21:18:59.764Z (9 months ago)
- Topics: elixir
- Language: Elixir
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LINE Pay
simple HTTP client for [LINE Pay](https://line.me/ja/pay/).
## Installation
```elixir
def deps do
[
{:line_pay, "~> 0.1.0"}
]
end
```
## Configuration
```elixir
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.
```bash
export CHANNEL_SECRET="YOUR CHANNEL SECRET"
```
## License
MIT