Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Adyen Magento2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shared Libs
Adyen Magento2
Commits
c3abd27c
Commit
c3abd27c
authored
Nov 10, 2020
by
Ricardo Ambrogi
Committed by
GitHub
Nov 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update adyen-cc-method.js
parent
6f7bbd58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
view/frontend/web/js/view/payment/method-renderer/adyen-cc-method.js
...nd/web/js/view/payment/method-renderer/adyen-cc-method.js
+2
-2
No files found.
view/frontend/web/js/view/payment/method-renderer/adyen-cc-method.js
View file @
c3abd27c
...
...
@@ -409,7 +409,7 @@ define(
var
validate
=
$
(
form
).
validation
()
&&
$
(
form
).
validation
(
'
isValid
'
);
return
validate
return
!!
validate
},
/**
* Validates if the typed in card holder is valid
...
...
@@ -437,7 +437,7 @@ define(
*/
getCcCodeByAltCode
:
function
(
altCode
)
{
var
ccTypes
=
window
.
checkoutConfig
.
payment
.
ccform
.
availableTypesByAlt
[
this
.
getCode
()];
return
ccTypes
.
hasOwnProperty
(
altCode
)
)
?
ccTypes
[
altCode
]
:
""
;
return
ccTypes
.
hasOwnProperty
(
altCode
)
?
ccTypes
[
altCode
]
:
""
;
},
/**
* Get available card types translated to the Adyen card type codes
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment