easy_pay_u_latam 0.1.20 → 0.1.21
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8eee2fadb4bd7eb0470ba74dfcb62ec90ee78bf824f2ac475ff4f78355c40c9
|
4
|
+
data.tar.gz: 1c45508dddbdde111502644b6002bbd946b072bfb86eb8a830a62addfdda8e2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 458e3f68a3313d423748841f18315e2fecf1ecb300a1611cda682e634c440e43777c05a825bab1a1f5b0b77e5a244a316428f4f667483928816145236dcc4118
|
7
|
+
data.tar.gz: 1ebbdb3e0f24f4903b69c5401f66501d4dc316965d555d3f3530484c19f1e0738c262c0fb78e11d38ea044d7b635981771a9d86a01cd75ed6322071fbae17fa1
|
@@ -56,27 +56,27 @@
|
|
56
56
|
}, 100);
|
57
57
|
|
58
58
|
$('#new-credit-card-modal').on('shown.bs.modal', function () {
|
59
|
-
if (self.create_subscription_after_new_card == true){
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
}
|
59
|
+
// if (self.create_subscription_after_new_card == true){
|
60
|
+
// swal({
|
61
|
+
// title: 'Confirmación',
|
62
|
+
// text: "Cargaremos a tu tarjeta principal mensualmente el valor del plan hasta que canceles la subscripción.",
|
63
|
+
// type: 'info',
|
64
|
+
// showCancelButton: true,
|
65
|
+
// confirmButtonColor: '#3085d6',
|
66
|
+
// cancelButtonColor: '#d33',
|
67
|
+
// confirmButtonText: 'Si, continuar',
|
68
|
+
// cancelButtonText: "Cancelar"
|
69
|
+
// }).then((result) => {
|
70
|
+
// if (result) {
|
71
|
+
// $scope.$evalAsync(function(){
|
72
|
+
// ('#new-credit-card-modal').modal("show");
|
73
|
+
// });
|
74
|
+
// }
|
75
|
+
// else{
|
76
|
+
// self.create_subscription_after_new_card = false;
|
77
|
+
// }
|
78
|
+
// });
|
79
|
+
// }
|
80
80
|
})
|
81
81
|
}
|
82
82
|
|
@@ -127,6 +127,10 @@
|
|
127
127
|
$http.get("/easy_pay_u_latam/api/v1/pay_u_cards.json", {params: params}).then(
|
128
128
|
function(res, status){
|
129
129
|
self.cards = res.data.cards;
|
130
|
+
//Si el usuario seleccinó un plan se crea la subscripción automaticamente
|
131
|
+
if (self.create_subscription_after_new_card == true){
|
132
|
+
self.CreateSubscription();
|
133
|
+
}
|
130
134
|
},
|
131
135
|
function(res, status){
|
132
136
|
}
|
@@ -161,10 +165,7 @@
|
|
161
165
|
$("#new-credit-card-modal").modal("hide");
|
162
166
|
swal("¡Excelente!", "¡La tarjeta de crédito creada con éxito!", "success");
|
163
167
|
|
164
|
-
|
165
|
-
if (self.create_subscription_after_new_card == true){
|
166
|
-
self.CreateSubscription();
|
167
|
-
}
|
168
|
+
|
168
169
|
},
|
169
170
|
function(res, status){
|
170
171
|
self.card_loading = false;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy_pay_u_latam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DEVPENGUIN
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|