catarse_stripe 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -54,7 +54,7 @@ module CatarseStripe::Payment
54
54
  backer = current_user.backs.find params[:id]
55
55
  begin
56
56
  customer = Stripe::Customer.create(
57
- email: backer.email,
57
+ email: backer.payer_email,
58
58
  card: params[:stripeToken]
59
59
  )
60
60
 
@@ -5,10 +5,5 @@ 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"
9
- .bootstrap-twitter
10
- = label_tag 'user_document', t('projects.backers.review.international.user_document_label')
11
- .clearfix
12
- = text_field_tag 'user_document', nil, { autocomplete: 'off' }
13
- .loader.hide= image_tag 'loading.gif'
14
- = submit_tag t('projects.backers.review.international.button'), :class => 'btn btn-primary btn-large'
8
+ javascript:
9
+ 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"
@@ -1,3 +1,3 @@
1
1
  module CatarseStripe
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
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.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: