catarse_pagarme 2.6.3 → 2.6.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 008c3f9e2eafaadfcd0293484f6f8a4daa222d18
|
4
|
+
data.tar.gz: 523a8a3472c6befdf2c5ab012cd650b8710296aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36e5af7633be4187029a2105a8e87ca58897b5d233550f65d9ccacb3bc67f800f4e33be03947005e96149f60160670500cc70a55aa2edbea8ba6e222615efea6
|
7
|
+
data.tar.gz: 5421d05f378915169ce0f3271cb4c31dd1ab4efd2bc18cd922931a5a91769286e6879d8701f56a808e5b27079361ac99831404289649dc8104aebb5c14785135
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
catarse_pagarme (2.6.
|
4
|
+
catarse_pagarme (2.6.4)
|
5
5
|
pagarme (~> 1.9.8)
|
6
6
|
rails (~> 4.0)
|
7
7
|
|
@@ -37,7 +37,7 @@ GEM
|
|
37
37
|
arel (5.0.1.20140414130214)
|
38
38
|
builder (3.2.2)
|
39
39
|
diff-lcs (1.2.5)
|
40
|
-
domain_name (0.5.
|
40
|
+
domain_name (0.5.24)
|
41
41
|
unf (>= 0.0.5, < 1.0.0)
|
42
42
|
erubis (2.7.0)
|
43
43
|
factory_girl (4.4.0)
|
@@ -10,8 +10,8 @@ module CatarsePagarme
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def change_payment_state
|
13
|
-
self.payment.update_attributes(attributes_to_payment)
|
14
13
|
self.payment.save!
|
14
|
+
self.payment.update_attributes(attributes_to_payment)
|
15
15
|
delegator.update_fee
|
16
16
|
self.payment.payment_notifications.create(contribution_id: self.payment.contribution_id, extra_data: self.transaction.to_json)
|
17
17
|
delegator.change_status_by_transaction(self.transaction.status)
|
@@ -50,32 +50,31 @@
|
|
50
50
|
.fontsize-smaller.text-error.u-marginbottom-20.fa.fa-exclamation-triangle.w-hidden[data-error-for="payment_card_name"]
|
51
51
|
| Por favor digite o nome escrito no cartão
|
52
52
|
.w-row
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
| Qual a data de expiração no cartão?
|
53
|
+
|
54
|
+
.w-col.w-col-9.w-col-small-9.w-col-tiny-9
|
55
|
+
= label_tag :payment_card_number, t('projects.contributions.edit.form_labels.payment_card_number'), class: 'fontweight-semibold field-label'
|
56
|
+
= phone_field_tag :payment_card_number, nil, class: 'w-input text-field', required: true
|
57
|
+
.fontsize-smaller.text-error.u-marginbottom-20.fa.fa-exclamation-triangle.w-hidden[data-error-for="payment_card_number"]
|
58
|
+
| Por favor verifique o número do cartão de crédito
|
59
|
+
.w-col.w-col-3.w-col-small-3.w-col-tiny-3
|
60
|
+
= label_tag :payment_card_flag, t('projects.contributions.edit.form_labels.payment_card_flag'), class: 'fontweight-semibold field-label'
|
61
|
+
#payment_card_flag.fontsize-smallest.fontcolor-secondary.u-text-center.w-input.text-field
|
62
|
+
|
|
63
|
+
.w-row
|
64
|
+
.w-col.w-col-6.w-col-small-6.w-col-tiny-6
|
65
|
+
= label_tag :payment_card_source, t('projects.contributions.edit.form_labels.payment_card_source'), class: 'field-label fontweight-semibold w-hidden-medium'
|
66
|
+
= label_tag :payment_card_source, t('projects.contributions.edit.form_labels.payment_card_source_short'), class: 'field-label fontweight-semibold w-hidden-main w-hidden-small w-hidden-tiny'
|
67
|
+
= phone_field_tag :payment_card_source, nil, class: 'w-input text-field', required: true, autocomplete: 'off'
|
68
|
+
.fontsize-smaller.text-error.u-marginbottom-20.fa.fa-exclamation-triangle.w-hidden[data-error-for="payment_card_source"]
|
69
|
+
| Veja o código de segurança do cartão abaixo da tarja magnética
|
70
|
+
.w-col.w-col-6.w-col-small-6.w-col-tiny-6
|
71
|
+
= label_tag :payment_card_date, t('projects.contributions.edit.form_labels.payment_card_date'), class: 'field-label fontweight-semibold'
|
72
|
+
= phone_field_tag :payment_card_date, nil, class: 'w-input text-field', required: true
|
73
|
+
.fontsize-smaller.text-error.u-marginbottom-20.fa.fa-exclamation-triangle.w-hidden[data-error-for="payment_card_date"]
|
74
|
+
| Qual a data de expiração no cartão?
|
76
75
|
- if @contribution.value.to_f >= CatarsePagarme.configuration.minimum_value_for_installment.to_f
|
77
76
|
.w-row
|
78
|
-
.w-col.w-col-6
|
77
|
+
.w-col.w-col-6
|
79
78
|
= label_tag :payment_card_installments, t('projects.contributions.edit.form_labels.payment_card_installments'), class: 'field-label fontweight-semibold'
|
80
79
|
= select_tag :payment_card_installments, options_for_select(installments_for_select(payment)), class: 'w-select text-field'
|
81
80
|
.w-checkbox.w-clearfix
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: catarse_pagarme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antônio Roberto Silva
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|