Merge branch 'three_d_secure' * three_d_secure: Send 3DS id when making a transaction
Send 3DS id when making a transaction
Merge branch 'credit-card-blacklist' * credit-card-blacklist: Credit card blacklist
Credit card blacklist Any card on the list is just treated as though it is not present, preventing it from being used.
Merge branch 'tx-list' * tx-list: Admin Command Menu + Admin Financial View Transactions List Customer Financials Telephone Link
Customer Financials I've pulled out information about payment methods and bitcoin into its own thing. It's kind of a repository, except that it only exposes fetchers and doesn't load anything generally. There's also a few new methods here that aren't used yet, but will be shortly.
Merge branch 'rubocop' * rubocop: Additional fixes for rubocop 1.10.1 Switch to rubocop 0.89.1
Switch to rubocop 0.89.1 This is the rubocop in new Debian stable
Remove BigDecimal.new It turns out in newer versions of Ruby this isn't cool anymore. The new way is BigDecimal(value), which is dumb, but whatever...
Customer always has a JID
Validate that amount of credit to buy is in valid range
Fix sentry issue SGX-JMP-4 Typo not caught by tests because this method had none. Add a test, fix the typo.
Refactor BuyAccountCreditForm add_to_form no longer needs a promise or a network call, instead we use a factory to get that data up front and inject the dependency. New BuyAccountCreditForm#parse to get the relevant data back out of an XMPP form. Some changes to Transaction and sgx_jmp.rb to use the new method semantics.
Merge branch 'new-signup-add-credit-card' * new-signup-add-credit-card: Happy path for credit card signup Panic should work on any value for error Allow getting default payment method, not just index Object representing the backend SGX to use Stop polluting Object namespace with Blather DSL Work in the presence of em-synchrony Helper to allow ordering phone number from Bandwidth v2 Helper to get a promise that resolves after N seconds Every payment kind will need the plan, so put it at the top Use registration pattern for Payment kinds Method to bill the plan of a Customer Use Forwardable for simple delegations Helper to allow using sync-style code in a Promise context New signup: go to web to choose credit card OOB helper Reject promise on stanza error Fix typo
New signup: go to web to choose credit card This step, if chosen, directs the user to the jmp-pay webapp to add a credit card. It includes an OOB element for use by user agents that can handle that (possibly for webview embed, etc) with a note-based fallback as per XEP. Once the user chooses "next" the code checks if they have actually added a card, and if so continues to a yet-unimplemented step and if not repeats the instruction to go to the web app.
Split logic out into testable objects Rubocop clean. Good test coverage of helper objects.