manuel-rubio
After a while I got the time to publish this first (and incomplete, sorry) library for Paypal v2 which is including at this moment orders and payments.
It’s now battle tested and I can ensure it’s working perfectly for the funcionts that are implemented however, I’ll be adding more parts of the API and publishing new improvements and fixes (if any). Don’t hesitate to use it or even help with documentation, testing, or adding what you need for it.
Trending in Announcing
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
Hello,
I’m sharing my plugin here in forum after some time so it has time to mature and proof yourself.
I use Claude Code daily on a pr...
New
Aloha gang,
There’s a new class of AI model out from TypeSafe. Jev is their flagship model. You can learn about it here:
...
New
I’ve recently created a small library phoenix_vite integrating the vite build tooling with phoenix.
It
provides an igniter.installer t...
New
I needed something like premailer for rails, and after searching, I decided to make an easy-to-use library to handle inline styles and co...
New
If you’ve ever had to debug a BEAM node you know it can be a painful process. Parsing raw data, or dealing with clutter often gets in the...
New
Other Trending Topics
Hey there,
I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first.
...
New
Hi everyone :waving_hand:
I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly)
AI dream has many faces, but general...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
AI tools and services seem to be the new JS framework - with new ones popping up every 5 minutes - hence it might be worth posting one of...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #code-sync
- #discussion
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #blog-post
- #elixirconf-us
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #security
- #elixirconf-eu
- #api
- #forms
- #performance










Showing Posts 1 to 2- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
manuel-rubio
Hi everyone!
I’m happy to announce the release of paypal v0.2.0 on Hex.pm
paypal | Hex !
This release brings a long-awaited feature requested by the community,
along with significant modernization, improved security, and a revamped
HTTP stack.
──────
1. Full PayPal Subscriptions & Billing Plans API
As requested, we now have first-class support for PayPal’s recurring
billing and subscriptions ecosystem:
• Catalog Products (Paypal.Subscription.Product): Create, show, list, and
update digital, physical, or service products.
• Billing Plans (Paypal.Subscription.Plan): Define recurring billing cycles,
setup fees, trial periods, and pricing schemes.
• Subscriptions Lifecycle (Paypal.Subscription): Create subscriptions,
retrieve details, update, revise plans/quantities, suspend, reactivate,
cancel, capture outstanding balances, and list transaction histories.
──────
2. Migration to Req & Security Improvements
• Switched from Tesla to Req https://github.com/wojtekmach/req: Streamlined
HTTP client configuration, cleaner error handling, and robust Finch pooling
out-of-the-box.
• Dependencies & Security: All dependencies have been audited and updated
(mix_audit clean with 0 vulnerabilities).
──────
3. Modern Elixir & Quality Standards
• Elixir & OTP support: Minimum requirements updated to Elixir ~> 1.17 and
OTP 27+.
• Code Quality & Type Safety:
• 100% clean mix check pipeline (compiler with --warnings-as-errors,
Credo, and strict Dialyzer type specs).
• 100% documentation coverage verified with Doctor.
• Test coverage exceeding 95% with full unit and Bypass integration
suites.
• License: Clarified under the standard MIT License.
──────
• Hex.pm: paypal | Hex
• HexDocs: Paypal v0.2.0 — Documentation
• GitHub: GitHub - altenwald/paypal: Paypal implementation for Elixir · GitHub
Feedback, issues, and contributions are very welcome!
manuel-rubio
paypal is a PayPal REST API v2 & Subscriptions API client built on
Req. v0.3.0 is out, fixing a real decoding bug plus a packaging gap.Fixed
Paypal.Order.show/1and.capture/1crashed on any order with a completed capture. PayPal returnsdisbursement_modeas a plain string ("INSTANT"/"DELAYED"), but the schema declared it as:map, soEcto.embedded_loadraisedArgumentErrordecoding a real response. It’s now a proper enum.seller_protectionandseller_receivable_breakdownon a capture were untyped maps. They’re now real structs (Paypal.Order.PurchaseUnit.SellerProtection,...SellerReceivableBreakdown), so you getcapture.seller_receivable_breakdown.paypal_fee.valueinstead of digging through string keys.Also
Paypal.Case(theReq.Test-based mocking helpers used to test against this library) is now shipped inside the Hex package itself, not just the git repo – no more need to point at GitHub inmix.exsjust to get test support.Docs: Paypal v0.3.0 — Documentation
Source: GitHub - altenwald/paypal: Paypal implementation for Elixir · GitHub
Thanks for any bug reports / PRs!