Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Moip in catarse v2 error get_moip_token method #3

Open
wants to merge 114 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
dcba2b8
updated submodule to catarse new repo and changed Factory to FactoryGirl
diogob Mar 13, 2013
130b507
fixed specs as the MoIP client interface changed
diogob Mar 13, 2013
9ba2b2b
just updated gems and catarse source code
diogob Mar 14, 2013
dd50347
added test for moip_response method. Use the processor method in moip…
diogob Mar 19, 2013
4c44eea
added js to get moip response data after the user clicks the payment …
diogob Mar 19, 2013
86f7fb1
updated catarse dummy project
diogob Mar 20, 2013
a1f6e20
MoIP payment_id now is updated soon after payment_slip and bank transfer
diogob Mar 20, 2013
fdb0c2c
just give one more second to moip transaction to complete
diogob Mar 20, 2013
859e9a0
fix redirect after credit card
diogob Mar 21, 2013
e433b20
added cancel action and update backer actions to new backer state mac…
devton May 5, 2013
3df9914
turn backer to waiting_confirmation after go to moip
devton May 6, 2013
8a1d51b
trying to fix our deadlock problem
diogob May 7, 2013
6113a20
fix conflicts
devton May 8, 2013
756e726
updated catarse and gemfile
diogob May 14, 2013
55845d0
fixed specs and updated catarse gems
diogob May 14, 2013
5331de9
now we retry the JS rendering 3 times
diogob May 14, 2013
166875d
merging controllers into one, removing processor, started using find_…
diogob May 14, 2013
624b42e
removing catarse submodule, our tests should be based only in interfa…
diogob May 14, 2013
9a8e9d7
removed test/dummy
diogob May 14, 2013
43d0e80
got tests running without catarse project, still need to mock several…
diogob May 14, 2013
de1d000
removed factorygirl and database_cleaner everything should be mocked …
diogob May 14, 2013
112a9f5
fixed methods update_backer and process_moip_message
diogob May 14, 2013
8a8e9e7
fixed the first create_notification specs
diogob May 14, 2013
377ecf2
controller specs are working now, we still need to migrate the old pr…
diogob May 17, 2013
e66f436
migrating old processor specs to controller specs WIP
diogob May 17, 2013
52fd0ea
fixed specs and removed old processor specs
diogob May 17, 2013
96e1b47
finished removing payment namespace
diogob May 20, 2013
b9bdd34
updated README and added travis config
diogob May 20, 2013
006e81f
added status image
diogob May 20, 2013
501467b
fixed user in database.yml
diogob May 20, 2013
c056de1
Update libxml-ruby version to the latest
theCrab May 22, 2013
aa0029f
Merge pull request #1 from theCrab/patch-1
diogob May 22, 2013
8a54361
removed CatarseMoip::Checkout module
diogob May 24, 2013
1313bce
Merge branch 'master' of github.com:catarse/catarse_moip
diogob May 24, 2013
6f05a2f
reduced the number of payment notifications (we had a duplicate call …
diogob May 29, 2013
388b7bc
updated gems to use catarse fork of moip-ruby
diogob Jun 6, 2013
739a40a
changed dependency to rails 3.2.12
diogob Aug 8, 2013
1f7f35f
now we can test the engine using jasmine-node, how cool is that eh?
diogob Aug 12, 2013
664acbd
run tests in travis using rake instead of rspec
diogob Aug 12, 2013
974d503
fixing travis config for jasmine-node
diogob Aug 12, 2013
8ac5094
fixing travis config for jasmine-node
diogob Aug 12, 2013
22e3a40
migrating JSs to new catarse JS framework
diogob Aug 13, 2013
d45038e
call createViewGetters after adding the catarse_moip views to App.views
diogob Aug 13, 2013
80ebdf9
fixing migration to new JS framework, still need specs
diogob Aug 13, 2013
1604e12
Update dummy app to rails 4
josemarluedke Aug 15, 2013
4b4fc31
Change gem dependencies for rails 4
josemarluedke Aug 15, 2013
5033b82
Change routes for rails 4
josemarluedke Aug 15, 2013
a6476a9
Revert changes on database.yml
josemarluedke Aug 15, 2013
08402bf
Enable escape_html_entities_in_json
josemarluedke Aug 15, 2013
e154e16
Revert "Enable escape_html_entities_in_json"
josemarluedke Aug 15, 2013
5379216
bump to 1.0.0
devton Aug 15, 2013
2bde857
for security reason we dont render the widget tag html into json
devton Aug 15, 2013
b9d8a03
fix conflicts
devton Aug 15, 2013
dca9d8b
bump to 2.0.0
devton Aug 15, 2013
2565cf0
Add notes about the gem versions on README file
josemarluedke Aug 15, 2013
a326cab
we dont need use this function anymore
devton Aug 15, 2013
c3222b8
Merge branch 'rails4' of github.com:josemarluedke/catarse_moip into r…
josemarluedke Aug 15, 2013
bfc14cb
Bump to 2.0.0
josemarluedke Aug 15, 2013
8aa8628
Merge pull request #2 from josemarluedke/rails4
diogob Aug 15, 2013
6f60981
fixed error while trying to call checkoutSuccessful from this.moipForm
diogob Aug 21, 2013
59535a3
bumped patch version
diogob Aug 21, 2013
dcfb055
bumped patch version
diogob Aug 21, 2013
fceac75
porting fixes in JS from v1.0
diogob Aug 21, 2013
b537866
bumped patch version
diogob Aug 21, 2013
38ff673
when notification is sent off the order we just create a notification…
devton Sep 4, 2013
10df9ac
bump to 1.0.2
devton Sep 4, 2013
59cde17
bump to 1.0.2 into Gemfile.lock
devton Sep 4, 2013
0cd68f9
solve conflicts and bump to 2.0.2
devton Sep 4, 2013
99fe108
lock
devton Sep 4, 2013
2b41016
bump to 1.0.3
devton Sep 4, 2013
ab89a4c
fix conflicts and bump to 2.0.3
devton Sep 4, 2013
c0aefb3
should confirm backer on the first update backer if status is Autorizado
devton Sep 10, 2013
2e5ecfa
bump new version
devton Sep 10, 2013
7f7df13
should confirm backer on the first update backer if status is Autorizado
devton Sep 10, 2013
85c24fc
bump to 1.0.4
devton Sep 10, 2013
cbdb08e
when notification payment id is the same we need to process
devton Sep 11, 2013
d39c65d
bump to 1.0.5
devton Sep 11, 2013
ec349ad
when notification payment id is the same we need to process
devton Sep 11, 2013
b8707f5
bump to 2.0.5
devton Sep 11, 2013
ecba4e3
fixed error when backer.payment_id is nil
devton Sep 13, 2013
a1738db
bump to 2.0.6
devton Sep 13, 2013
bcdaca6
fixed error when backer.payment_id is nil
devton Sep 13, 2013
bc56584
bump to 1.0.6
devton Sep 13, 2013
77c18aa
remove else because moip send last notification sometimes with status…
devton Sep 13, 2013
56f08f8
bump to 1.0.7
devton Sep 13, 2013
48d8f88
remove else because moip send last notification sometimes with status…
devton Sep 13, 2013
d32be2b
bump to 2.0.7
devton Sep 13, 2013
8c3714f
use with_lock to prevent DEADLOCKS
devton Sep 18, 2013
27f1a18
bump to 1.0.8
devton Sep 18, 2013
c1721cb
move backers to waiting confirmation as soon as we get the first resp…
diogob Sep 20, 2013
faa74c4
bumped patch version
diogob Sep 20, 2013
df469e8
merged latest modifications from v1.0 branch and bumped patch version
diogob Sep 20, 2013
5d03d95
now we store the payment_method on the first update and update the ba…
diogob Dec 13, 2013
392bfaa
bumped patch version number
diogob Dec 13, 2013
6101073
removed bank transfer payment option from view (still experimenting w…
diogob Dec 27, 2013
9f44c28
Moved enumerate_it require to moip_controller and the gem requirement…
diogob Jan 10, 2014
48b4700
bumped minor version
diogob Jan 10, 2014
17d0aa7
route update_info does not exits anymore changed to update [Fix #6373…
devton Jan 16, 2014
a49cf0d
Change backer to contribution
josemarluedke Jan 21, 2014
b3232c6
Bump to 2.3.0
josemarluedke Jan 21, 2014
60c28a1
Merge pull request #3 from josemarluedke/backers_to_contributions
diogob Jan 22, 2014
cbc995e
added deliver process notification when payment status is processing …
devton Feb 6, 2014
f995f80
when contribution is made with boleto and caceled should call a cance…
devton Feb 11, 2014
a9850e0
bump to 2.3.1
devton Feb 19, 2014
a4b23fe
rename split to slip
devton Feb 19, 2014
7426cd8
Merge pull request #4 from catarse/notifications_epic
diogob Feb 19, 2014
f7a3113
updated gems
diogob Feb 19, 2014
cb3c4f9
fixed bug of first_update_contribution not being called, now we try a…
diogob Feb 28, 2014
fccab8b
bumped patch version number
diogob Feb 28, 2014
1c2e666
bumped patch version number
diogob Feb 28, 2014
f18afb3
move PaymentEngine to a class instead use hash with lambda
devton Mar 18, 2014
08f978e
we dont need to use payment engine interface
devton Mar 18, 2014
00a4e2c
turn contribution to invalid when value is less that contribution value
devton Apr 22, 2014
7723591
spec for invalid contribution
devton Apr 22, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.bundle/
log/*.log
*.log
pkg/
catarse_moip-0.0.2.gem
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
rvm:
- 1.9.3

node_js:
- "0.10"

before_script:
- "psql -c 'create role catarse SUPERUSER LOGIN;' postgres"
- "psql -c 'create database catarse_test;' -U catarse postgres"
- "npm install -g jquery jsdom jasmine-node"

script:
- "bundle exec rake"

branches:
only:
- master
118 changes: 1 addition & 117 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,122 +1,6 @@
source "http://rubygems.org"

# Declare your gem's dependencies in catarse_moip.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec
source :gemcutter
source 'http://gems.github.com'

gem 'rails', '3.2.11'

gem 'sidekiq', '= 2.4.0'
gem 'sinatra', require: false
gem 'foreman'
gem 'best_in_place'

gem 'state_machine', require: 'state_machine/core'

# Database and data related
gem 'moip', git: 'git://github.com/catarse/moip-ruby.git'
gem 'pg'
gem 'pg_search'
gem 'postgres-copy'
gem 'schema_plus'

gem 'catarse_paypal_express', git: 'git://github.com/devton/catarse_paypal_express.git', ref: '4fd17e269395ee4b3a32528ace0bcb7eec57a953'
#gem 'catarse_paypal_express', path: '../catarse_paypal_express'
#gem 'catarse_moip', git: 'git://github.com/devton/catarse_moip.git'
#gem 'catarse_moip', path: '../catarse_moip'
gem 'moip', git: 'git://github.com/moiplabs/moip-ruby.git'

gem 'draper'

# Frontend stuff
gem 'slim'
gem 'slim-rails'
gem 'jquery-rails'
gem 'initjs'

# Authentication and Authorization
gem 'omniauth', "~> 1.1.0"
gem 'omniauth-openid', '~> 1.0.1'
gem 'omniauth-twitter', '~> 0.0.12'
gem 'omniauth-facebook', '~> 1.2.0'
gem 'omniauth-github', '~> 1.0.1'
gem 'omniauth-linkedin', '~> 0.0.6'
gem 'omniauth-yahoo', '~> 0.0.4'
gem 'devise', '1.5.3'
gem 'cancan', git: 'git://github.com/ryanb/cancan.git', branch: '2.0', ref: 'f1cebde51a87be149b4970a3287826bb63c0ac0b'


# Error reporting
gem "airbrake"

# Email marketing
#gem 'mailchimp'
gem 'catarse_mailchimp', git: 'git://github.com/devton/catarse_mailchimp'

# HTML manipulation and formatting
gem 'formtastic', "~> 2.1.1"
gem "auto_html", '= 1.4.2'
gem 'kaminari'
gem 'rails_autolink', '~> 1.0.7'

# Uploads
gem 'carrierwave', '~> 0.7.0'
gem 'rmagick'
gem 'fog'

# Other Tools
gem 'feedzirra'
gem 'validation_reflection', git: 'git://github.com/ncri/validation_reflection.git'
gem 'inherited_resources', '1.3.1'
gem 'has_scope'
gem 'spectator-validates_email', require: 'validates_email'
gem 'has_vimeo_video', '~> 0.0.5'
gem 'memoist', '~> 0.2.0'
gem 'wirble'
gem "on_the_spot"
gem 'weekdays'
gem 'brcep'
gem "RedCloth"
gem 'unicode'
gem 'enumerate_it'
gem 'httparty', '~> 0.6.1'
gem "rack-timeout"

# Translations
gem 'http_accept_language'
gem 'routing-filter' #, :git => 'git://github.com/svenfuchs/routing-filter.git'

# Administration
gem "meta_search", "1.1.3"

# Payment
gem 'activemerchant', '1.17.0', require: 'active_merchant'
gem 'httpclient', '2.2.5'
gem 'selenium-webdriver'

# Server
gem 'thin'

group :assets do
gem 'sass-rails', '~> 3.2.5'
gem 'coffee-rails', '~> 3.2.2'
gem "compass-rails", "~> 1.0.2"
gem 'uglifier', '>= 1.0.3'
gem 'compass-960-plugin', '~> 0.10.4'
end

group :test, :development do
gem 'launchy'
gem 'database_cleaner'
gem 'rspec-rails', "~> 2.10.0"
gem 'mocha', '0.10.4'
gem 'shoulda'
gem 'factory_girl_rails', '1.7.0'
gem 'capybara', ">= 1.0.1"
end

group :development do
gem 'mailcatcher'
end
Loading