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.
|
@@ -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
|
-
|
|
9
|
-
|
|
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"
|