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
beb0b827
Commit
beb0b827
authored
May 18, 2016
by
rikterbeek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#35 fixes for creditcard and sepa if lincence agreement checkbox is used
parent
1b9940cd
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
25 deletions
+22
-25
view/frontend/web/js/view/payment/method-renderer/adyen-cc-method.js
...nd/web/js/view/payment/method-renderer/adyen-cc-method.js
+0
-2
view/frontend/web/js/view/payment/method-renderer/adyen-hpp-method.js
...d/web/js/view/payment/method-renderer/adyen-hpp-method.js
+1
-1
view/frontend/web/template/payment/cc-form.html
view/frontend/web/template/payment/cc-form.html
+20
-20
view/frontend/web/template/payment/sepa-form.html
view/frontend/web/template/payment/sepa-form.html
+1
-2
No files found.
view/frontend/web/js/view/payment/method-renderer/adyen-cc-method.js
View file @
beb0b827
...
...
@@ -59,8 +59,6 @@ define(
]);
return
this
;
},
placeOrderHandler
:
null
,
validateHandler
:
null
,
setPlaceOrderHandler
:
function
(
handler
)
{
this
.
placeOrderHandler
=
handler
;
},
...
...
view/frontend/web/js/view/payment/method-renderer/adyen-hpp-method.js
View file @
beb0b827
...
...
@@ -32,7 +32,7 @@ define(
'
Magento_Checkout/js/checkout-data
'
,
'
Magento_Checkout/js/model/payment/additional-validators
'
],
function
(
ko
,
$
,
Component
,
setPaymentMethodAction
,
selectPaymentMethodAction
,
quote
,
checkoutData
,
additionalValidators
)
{
function
(
ko
,
$
,
Component
,
setPaymentMethodAction
,
selectPaymentMethodAction
,
quote
,
checkoutData
,
additionalValidators
)
{
'
use strict
'
;
var
brandCode
=
ko
.
observable
(
null
);
var
paymentMethod
=
ko
.
observable
(
null
);
...
...
view/frontend/web/template/payment/cc-form.html
View file @
beb0b827
...
...
@@ -233,28 +233,28 @@
<!-- /ko -->
</fieldset>
</form>
<div
class=
"checkout-agreements-block"
>
<!-- ko foreach: $parent.getRegion('before-place-order') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
</div>
<div
class=
"actions-toolbar"
>
<div
class=
"primary"
>
<button
class=
"action primary checkout"
type=
"submit"
data-bind=
"
click: placeOrder,
attr: {title: $t('Place Order')},
enable: (getCode() == isChecked()),
css: {disabled: !isPlaceOrderActionAllowed()}
"
disabled
>
<span
data-bind=
"text: $t('Place Order')"
></span>
</button>
</div>
<div
class=
"checkout-agreements-block"
>
<!-- ko foreach: $parent.getRegion('before-place-order') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
</div>
<div
class=
"actions-toolbar"
>
<div
class=
"primary"
>
<button
class=
"action primary checkout"
type=
"submit"
data-bind=
"
click: placeOrder,
attr: {title: $t('Place Order')},
enable: (getCode() == isChecked()),
css: {disabled: !isPlaceOrderActionAllowed()}
"
disabled
>
<span
data-bind=
"text: $t('Place Order')"
></span>
</button>
</div>
</
form
>
</
div
>
</div>
</div>
view/frontend/web/template/payment/sepa-form.html
View file @
beb0b827
...
...
@@ -137,8 +137,7 @@
</fieldset>
</form>
<div
class=
"checkout-agreements-block"
>
<!-- ko foreach: $parent.getRegion('before-place-order') -->
<!-- ko template: getTemplate() --><!-- /ko -->
...
...
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