caboose-store 0.0.20 → 0.0.21
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.
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NmYwMGM3MzgxNTEyNjlkYWNkNTI5MzU5NGFjM2Q2M2IzODM2N2FhMw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
Yzc3Zjg0MzQ4ZmQ3YzVjYTBkMTJmMjE4ZjgxOGNmMjhhY2NkNGM1NA==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NGU2YjIxZTU4ZTE1Mzg1NTYxMjZmYTkyOTgxYWIwZWMzNDRjYzFhOWYxY2Ey
|
|
10
|
+
ODkwM2U0ZWRiNzc5NWVmMjgyYWU0ZTA0OGM1ZjQxZTg0YjlkZWQxOGJkMzdk
|
|
11
|
+
Y2MzN2FkNTliNTJkODllOTVjYjk0MjY1MzA0OGExMTI0YTdiMTQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MmMzYTM0YmM0MzYyODA5MDA4ZmRmNGJjOWZkMzgyM2RhNmRlNTNhOTI1MTlk
|
|
14
|
+
YzNhM2QyMDBiNWEzNWM0N2E2MzdjNzI3Y2QxY2RkZjY0M2Y2NDkwZTQ2MTA3
|
|
15
|
+
OGVjNTZmOWU1OWVhMDcxMWFjMjVmNzgxZGMwZTJkMzRhMjY5ZDc=
|
|
@@ -83,8 +83,10 @@ Caboose.Store.Modules.CheckoutStep4 = (function() {
|
|
|
83
83
|
|
|
84
84
|
function relay_handler(resp)
|
|
85
85
|
{
|
|
86
|
-
if (resp.
|
|
87
|
-
|
|
88
|
-
else if (resp.
|
|
89
|
-
|
|
86
|
+
if (resp.success == true)
|
|
87
|
+
window.location = '/checkout/thanks';
|
|
88
|
+
else if (resp.message)
|
|
89
|
+
$('#message').html("<p class='note error'>" + resp.message + "</p>");
|
|
90
|
+
else
|
|
91
|
+
$('#message').html("<p class='note error'>There was an error processing your payment.</p>");
|
|
90
92
|
}
|