PayPal
Elixir library for working with the PayPal REST API.
This is in development, currently the following parts of the API are working:
- access token rotation on expiry
- Billing Plans
- Billing Agreements
- Payments
- Payouts
These work fine and I am using them in production, they have test coverage. Check out the docs :)
Installation
Add :pay_pal
as a dependency to your project's mix.exs
:
defp deps do
[
{:pay_pal, "~> 0.0.7"}
]
end
Configure your settings in your configuration files:
config :pay_pal,
client_id: "your_paypal_client_id",
client_secret: "your_paypal_secret",
environment: :sandbox