~singpolyma/jmp-pay

ref: a52b5617a2f4766fc9732d0fa02d6a575c1b07f4 jmp-pay/config.ru -rw-r--r-- 5.6 KiB
Merge branch 'three_d'

* three_d:
  3D Secure Valuting
3D Secure Valuting
Forgot to require
Factor out AutoTopUpRepo and add tests
Removed web activation form

No longer used for either registrations or as a hack for payments, everything
handled by ad-hoc commands now and nothing links here any longer.
Merge branch 'rubocop'

* rubocop:
  Update rubocop
Update rubocop

And use settings from sgx-jmp
Expects this to return true
hotfix credit card activation
Copy in account activation logic from sgx-jmp

This is largely duplicated code, but the whole web-activation path should go
away soon.  This fixes web activation to produce the data we actually expect
instead of the hack previously produced.  Instead of an account activation for 5
months, we insert 5 months of balance and then bill for only one month as is reasonable.
Merge branch 'auto-top-up'

* auto-top-up:
  Default auto-top-up to $15 and allow changing from credit card management screen
Default auto-top-up to $15 and allow changing from credit card management screen
Update schema and INSERT to plan_log using new range type

plan_log has been updated to use a range type, so our INSERTs need to be
updated as well.
Allow new users to opt-in to balance auto-top-up

We don't have auto top up built yet, but once we do they will be able to start
getting it right away instead of needing to manually turn it on later.
include sentry when there is a dsn
empty array is not falsy
Do not try query when values is empty

If there are no values to query with, then the SQL will be invalid and throw an
error, so just return empty for that case.
Next