catarse_stripe 0.0.3 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -55,12 +55,12 @@ module CatarseStripe::Payment
55
55
  begin
56
56
 
57
57
  customer = Stripe::Customer.create(
58
- :email => backer.email
58
+ :email => backer.email,
59
59
  :card => params[:stripeToken]
60
60
  )
61
61
 
62
62
  response = @@gateway.purchase(
63
- :customer => customer.id
63
+ :customer => customer.id,
64
64
  :amount => backer.price_in_cents,
65
65
  :currency => 'usd',
66
66
  :description => t('stripe_description', scope: SCOPE, :project_name => backer.project.name, :value => backer.display_value)
@@ -5,7 +5,7 @@ h3= t('projects.backers.review.international.section_title')
5
5
  #catarse_stripe_form
6
6
  = form_tag payment_pay_stripe_path(params[:id]) do
7
7
  .clearfix
8
- script.stripe-button data-amount="(backer.price_in_cents)" data-description="t('stripe_description', scope: SCOPE, :project_name => backer.project.name, :value => backer.display_value)" data-key=(::Configuration[:stripe_api_key])src="https://checkout.stripe.com/v2/checkout.js"
8
+ script.stripe-button data-amount="(backer.price_in_cents)" data-description="t('stripe_description', scope: SCOPE, :project_name => backer.project.name, :value => backer.display_value)" data-key=(::Configuration[:stripe_api_key]) src="https://checkout.stripe.com/v2/checkout.js"
9
9
  .bootstrap-twitter
10
10
  = label_tag 'user_document', t('projects.backers.review.international.user_document_label')
11
11
  .clearfix
Binary file
Binary file
Binary file
@@ -1,3 +1,3 @@
1
1
  module CatarseStripe
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catarse_stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -112,6 +112,9 @@ files:
112
112
  - app/assets/javascripts/catarse_stripe/user_document.js
113
113
  - app/controllers/catarse_stripe/payment/stripe_controller.rb
114
114
  - app/views/catarse_stripe/payment/stripe/review.html.slim
115
+ - catarse_stripe-0.0.2.gem
116
+ - catarse_stripe-0.0.3.gem
117
+ - catarse_stripe-0.0.4.gem
115
118
  - catarse_stripe.gemspec
116
119
  - config/initializers/active_merchant.rb
117
120
  - config/initializers/register.rb