-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds the Money protocol and a mix task #110
Commits on Dec 29, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 961dfcb - Browse repository at this point
Copy the full SHA 961dfcbView commit details
Commits on Jan 2, 2018
-
* Also re-ordered the deps list, groups runtime deps on top.
Configuration menu - View commit details
-
Copy full SHA for 90e8b3e - Browse repository at this point
Copy the full SHA 90e8b3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 907723b - Browse repository at this point
Copy the full SHA 907723bView commit details
Commits on Jan 3, 2018
-
[ci skip] Get more Open Source Helpers
[CodeTriage](https://www.codetriage.com/) is an app I have maintained for the past 4-5 years with the goal of getting people involved in Open Source projects like this one. The app sends subscribers a random open issue for them to help "triage". For some languages you can also suggested areas to add documentation. The initial approach was inspired by seeing the work of the small core team spending countless hours asking "what version was this in" and "can you give us an example app". The idea is to outsource these small interactions to a huge team of volunteers and let the core team focus on their work. I want to add a badge to the README of this project. The idea is to provide an easy link for people to get started contributing to this project. A badge indicates the number of people currently subscribed to help the repo. The color is based off of open issues in the project. Here are some examples of other projects that have a badge in their README: - https://github.com/crystal-lang/crystal - https://github.com/rails/rails - https://github.com/codetriage/codetriage Thanks for building open source software, I would love to help you find some helpers.
Configuration menu - View commit details
-
Copy full SHA for 609a92c - Browse repository at this point
Copy the full SHA 609a92cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41f1de5 - Browse repository at this point
Copy the full SHA 41f1de5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2680289 - Browse repository at this point
Copy the full SHA 2680289View commit details
Commits on Jan 4, 2018
-
Stripe gateway minor fixes and docs update (#75)
* separate payment into credit card and address struct * set default currency if currency not passed in options * add guard clause when source params is token or customer * Change stripe docs according to new credit card and address struct * Updated Readme * Fixed specs
Configuration menu - View commit details
-
Copy full SHA for 6e402e9 - Browse repository at this point
Copy the full SHA 6e402e9View commit details -
Using Address and Credit Card struct (#74)
* Address and Credit Card struct usage
Configuration menu - View commit details
-
Copy full SHA for ea11367 - Browse repository at this point
Copy the full SHA ea11367View commit details -
Configuration menu - View commit details
-
Copy full SHA for df44753 - Browse repository at this point
Copy the full SHA df44753View commit details
Commits on Jan 9, 2018
-
Added tests for authorize net library for the functions authorize, capture, refund, void, store and unstore. Added mock responses for the authorize net library for functions authorize, capture, refund, void, store and unstore. Added ResponseHandler module to parse gateway responses. Added specs.
Configuration menu - View commit details
-
Copy full SHA for afdd12e - Browse repository at this point
Copy the full SHA afdd12eView commit details
Commits on Jan 10, 2018
-
Introducing the Money protocol (#71)
Building on the discussion in #62, this PR introduces a protocol to replace amount argument, and removes the need to specify currency in config or opts. Supporting `ex_money` and `monetized` money libs out of the box. Usage:- Money can now be passed like this while calling the public API methods. money = %{amount: Decimal.new(2017.18), currency: "USD"} Conversation for this happened here on elixir forum and https://elixirforum.com/t/gringotts-a-complete-payment-library-for-elixir-and-phoenix-framework/11054
Configuration menu - View commit details
-
Copy full SHA for d5fda24 - Browse repository at this point
Copy the full SHA d5fda24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fafa1d - Browse repository at this point
Copy the full SHA 6fafa1dView commit details
Commits on Jan 12, 2018
-
Adds a super useful mix task: gringotts.new
* Generates a barebones implementation * Also generates docs dynamically, - If no required_keys are supplied when the task is run, the docs do not contain an empty table. - Otherwise, the table and config examples include the keys.
Configuration menu - View commit details
-
Copy full SHA for 9a4c89b - Browse repository at this point
Copy the full SHA 9a4c89bView commit details
Commits on Jan 19, 2018
-
[money-protocol] Expansion:
to_string
andto_integer
(#86)* Adds `to_string` and `to_integer` to the protocol * Fixes #62 and #85 * Implements all protocol methods for `ex_money` * Adds integration test with ex_money * Adapted Monei with protocol updates * Adds test for `Any` * The default rounding strategy for implementations of Gringotts.Money protocol is HALF-EVEN. * Updated public API docs with "perils of rounding".
Configuration menu - View commit details
-
Copy full SHA for 365c3f1 - Browse repository at this point
Copy the full SHA 365c3f1View commit details -
add mix task for tests, mocks and integration
Added mix task to generate test file for the gateways, add a file to define the mock responses and also to generate integration test.
Configuration menu - View commit details
-
Copy full SHA for 6d1828f - Browse repository at this point
Copy the full SHA 6d1828fView commit details
Commits on Jan 21, 2018
-
[monei] Implements optional/extra params (#79)
* Validates currency, test for unsupported currency * Added EUR to the supported currencies. * Refactored expansion and validation of extras * Removed duplicate code that extracted auth_info from opts * Part of the params to Monei are built in the methods, all extra params are built and validated in commit. * [extra-params] All optional params covered: billing, shipping and merchant, invoice_id, category, transaction_id, custom, register, customer * Added examples of these in docs and integration tests * The inclusion was (partially) implicitly tested in the integration tests, but I moved it to more visible mock tests.
Configuration menu - View commit details
-
Copy full SHA for a135692 - Browse repository at this point
Copy the full SHA a135692View commit details -
Money integration with ANet and Anet test modification (#82)
Used Gringotts.Money for Authorize Net currency support.
Configuration menu - View commit details
-
Copy full SHA for ce7c6bd - Browse repository at this point
Copy the full SHA ce7c6bdView commit details
Commits on Jan 25, 2018
-
[ANet] Corrected use of money protocol and examples (#92)
* Corrected use of money protocol and examples Fixes #90 and Fixes #91 Adds a new Response field: authorization. It is set to ["transactionResponse"]["transId"] * Uses Gringotts.Money.to_string instead of converting to lossy Float * doc examples updated (authorize, capture, purchase) * reworded confusing store doc * Improved docs, stripped whitespace * Ran the elixir 1.6 formatter * Used the ~s sigil in mocks * Also removed an invisible unicode codepoint from mock strings
Configuration menu - View commit details
-
Copy full SHA for db9190b - Browse repository at this point
Copy the full SHA db9190bView commit details -
[trexle] Adds Money protocol (#84)
* Integrated Money protocol with trexle * token and message added to Response * Used `~s` sigils in mocks
Configuration menu - View commit details
-
Copy full SHA for 5e748e7 - Browse repository at this point
Copy the full SHA 5e748e7View commit details -
[CAMS] Adds money protocol (#89)
* Added money protocol for CAMS gateway. * Modified methods according to money protocol. * Modified test data as per money protocol. * Corrected protocol usage, docs and some bugs * Updated docs
Configuration menu - View commit details
-
Copy full SHA for f3c0d58 - Browse repository at this point
Copy the full SHA f3c0d58View commit details -
Fix doc example typos, and mock tests (#93)
* Corrected capture args order * Mock tests now use the worker * Corrected capture args order
Configuration menu - View commit details
-
Copy full SHA for f2796b4 - Browse repository at this point
Copy the full SHA f2796b4View commit details -
[mix-task] Fixed arg order in capture (#94)
* Fixed arg order in capture * fixes some patterns in function clauses * Prompts for filename * Added a missing comma in integration template
Configuration menu - View commit details
-
Copy full SHA for fa1cd11 - Browse repository at this point
Copy the full SHA fa1cd11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b15d30 - Browse repository at this point
Copy the full SHA 5b15d30View commit details