sikanhe / stripe-elixir Goto Github PK
View Code? Open in Web Editor NEWStripe API client for Elixir
License: MIT License
Stripe API client for Elixir
License: MIT License
Hey It might sound a bit dumb, but I am trying to learn elixir and migrating an app to phoenix background and I need stripe, and I can't seem to find examples really that where would the payment happen, in the controller?
I get the data for the payment in my params and I think I need to cast them, and I have my schema but I how do i get back the casted value to make the call to create a customer?
Many thanks if you read this :D
Its this is missing support for Order https://stripe.com/docs/api/ruby#orders, Is that planned for a future release?
I am trying to write tests against my controllers that have stripe calls, but I am getting
Invalid API Key provided: ******.****_******_KEY
Is there a common way to stub out the calls and return sample responses
Accounts and External Accounts are not added in this elixir client library. Moreover, the Relay Resources(e.g Order, Return , Product) are also not available in this library
Hi @sikanhe.
We (Narrative) have been maintaining our own fork of this stripe library for some time in which we have been making improvements as we've needed them. I notice that there have been no updates to it since December 2017 - so I am wondering if you'd be amenable to transferring maintainership over to us? Personally, I'm keen for the improvements we've made to get back to the community.
Thanks for all the code. We really do appreciate it.
❤️
In terms of documentation what do you think about following the Official Guides where possible, I've largely removed sections I feel are not relevant:
I'm happy to get a PR done stubbing these out and starting on them. Thanks for this library, it looks amazing and seems very complete. Just be good to have examples for the above I think, with links to the original docs.
When passing conn.body_params
into Stripe.Webhook.construct_event(payload, signature, secret)
it fails to parse. When passing in Poison.encode!(conn.body_params)
instead, it fails to validate against the webhook key, presumable because of all the escaping slashes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.