Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit 2ef93d7

Browse files
committed
v 0_1_22 Support for local Korean cards
1 parent 55493ca commit 2ef93d7

12 files changed

+37
-24
lines changed

Options.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The `createEncryption ( key , `*`options`*` )` and `createEncryptedForm ( form,
5959
When no value is supplied, the default '34,37' will be used.
6060

6161
## Option in createEncryptedForm()
62-
Supported fields: `enableValidations`, `numberIgnoreNonNumeric`, `cvcIgnoreBins`, `fourDigitCvcForBins`, `submitButtonAlwaysEnabled`, `fieldNameAttribute`, `onsubmit`, `onvalidate`
62+
Supported fields: `enabledValidations`, `numberIgnoreNonNumeric`, `cvcIgnoreBins`, `fourDigitCvcForBins`, `submitButtonAlwaysEnabled`, `fieldNameAttribute`, `onsubmit`, `onvalidate`
6363

6464
*Example:*
6565
```Javascript
@@ -77,13 +77,13 @@ var cseForm = createEncryptedForm ( form, key , {
7777
When the card type detection addon is being enabled, the `cardTypeElement` option is also supported.
7878

7979
## Option in createEncryption()
80-
Currently `enableValidations`, `numberIgnoreNonNumeric`, `fourDigitCvcForBins` and `cvcIgnoreBins` are supported.
80+
Currently `enabledValidations`, `numberIgnoreNonNumeric`, `fourDigitCvcForBins` and `cvcIgnoreBins` are supported.
8181

8282
```Javascript
8383
var cse = createEncryption ( key , {
8484
"enableValidations" : true,
8585
"numberIgnoreNonNumeric" : true,
86-
"cvcIgnoreBins" : "6703",
86+
"cvcIgnoreBins" = "6703",
8787
"fourDigitCvcForBins" : "34,37"
8888
} );
8989
```

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ Note that this kind of integration may not be suitable for you, if you want to p
134134
135135
// Enable behavior tracking on number and CVC fields
136136
// Initiate before user interacts with the refeenced fields.
137-
cseInstance.monitor( 'number', document.getElementById('adyen-encrypted-form-number') );
138-
cseInstance.monitor( 'cvc', document.getElementById('adyen-encrypted-form-cvc') );
137+
cseInstance.monitor( 'number', document.getElementById('numberField') );
138+
cseInstance.monitor( 'cvc', document.getElementById('numberField') );
139139
140140
})();
141141
</script>
@@ -171,6 +171,11 @@ var cseInstance = adyenEncrypt.createEncryption(key, options);
171171

172172
# Version History
173173

174+
JavaScript version 0_1_22
175+
-------
176+
177+
* Support for local Korean cards
178+
174179
JavaScript version 0_1_21
175180
-------
176181

adyen.encrypt.nodom.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<!-- N.B. Make sure the library is *NOT* loaded in the "head" of the HTML document -->
2020

2121

22-
<script type="text/javascript" src="js/adyen.encrypt.nodom.min.js?0_1_21"></script>
22+
<script type="text/javascript" src="js/adyen.encrypt.nodom.min.js?0_1_22"></script>
2323
<script type="text/javascript">
2424

2525
// the public key

adyen.encrypt.simple.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050

5151
<!-- How to use the Adyen encryption client-side JS library -->
5252
<!-- N.B. Make sure the library is *NOT* loaded in the "head" of the HTML document -->
53-
<script type="text/javascript" src="js/adyen.encrypt.min.js?0_1_21"></script>
54-
<!-- <script type="text/javascript" src="js/addOns/adyen.cardtype.min.js?0_1_21"></script>-->
53+
<script type="text/javascript" src="js/adyen.encrypt.min.js?0_1_22"></script>
54+
<!-- <script type="text/javascript" src="js/addOns/adyen.cardtype.min.js?0_1_22"></script>-->
5555

5656
<script type="text/javascript">
5757

js/addOns/adyen.cardtype.css

+6
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,10 @@
128128
}
129129
#cardType.cse-cardtype-shopping {
130130
background-image: url(https://live.adyen.com/hpp/img/pm/shopping_tiny.png);
131+
}
132+
#cardType.cse-cardtype-troy {
133+
background-image: url(https://live.adyen.com/hpp/img/pm/troy.png);
134+
}
135+
#cardType.cse-cardtype-korean_local_card {
136+
background-image: url(https://live.adyen.com/hpp/img/pm/korean_local_card_tiny.png);
131137
}

js/addOns/adyen.cardtype.js

+5-3
Large diffs are not rendered by default.

js/addOns/adyen.cardtype.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/adyen.encrypt.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* * Stanford Javascript Crypto Library | http://crypto.stanford.edu/sjcl/
88
* * JSON in JavaScript | http://www.JSON.org/
99
*
10-
* Version: 0_1_21
10+
* Version: 0_1_22
1111
* Author: ADYEN (c) 2014
1212
1313
<!DOCTYPE html>
@@ -62,8 +62,8 @@
6262
6363
<!-- How to use the Adyen encryption client-side JS library -->
6464
<!-- N.B. Make sure the library is *NOT* loaded in the "head" of the HTML document -->
65-
<script type="text/javascript" src="js/adyen.encrypt.min.js?0_1_21"></script>
66-
<!-- <script type="text/javascript" src="js/addOns/adyen.cardtype.min.js?0_1_21"></script>-->
65+
<script type="text/javascript" src="js/adyen.encrypt.min.js?0_1_22"></script>
66+
<!-- <script type="text/javascript" src="js/addOns/adyen.cardtype.min.js?0_1_22"></script>-->
6767
6868
<script type="text/javascript">
6969
@@ -276,7 +276,7 @@
276276
}
277277

278278

279-
encrypt.version = '0_1_21';
279+
encrypt.version = '0_1_22';
280280

281281

282282
/*

js/adyen.encrypt.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/adyen.encrypt.nodom.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* * Stanford Javascript Crypto Library | http://crypto.stanford.edu/sjcl/
88
* * JSON in JavaScript | http://www.JSON.org/
99
*
10-
* Version: 0_1_21
10+
* Version: 0_1_22
1111
* Author: ADYEN (c) 2014
1212
1313
<!DOCTYPE html>
@@ -31,7 +31,7 @@
3131
<!-- N.B. Make sure the library is *NOT* loaded in the "head" of the HTML document -->
3232
3333
34-
<script type="text/javascript" src="js/adyen.encrypt.nodom.min.js?0_1_21"></script>
34+
<script type="text/javascript" src="js/adyen.encrypt.nodom.min.js?0_1_22"></script>
3535
<script type="text/javascript">
3636
3737
// the public key
@@ -193,7 +193,7 @@
193193
encrypt.errors = encrypt.errors || {};
194194

195195

196-
encrypt.version = '0_1_21';
196+
encrypt.version = '0_1_22';
197197

198198

199199

js/adyen.encrypt.nodom.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "adyen-cse-js",
3-
"version": "0.1.21",
3+
"version": "0.1.22",
44
"description": "Adyen javascript client-side encryption library",
55
"main": "js/adyen.encrypt.nodom.js",
66
"repository": {

0 commit comments

Comments
 (0)