Skip to content

Commit cd22088

Browse files
author
Elena Marchenko
committed
MAGETWO-69089: [Backport] - Shipping address is sent as the billing address to Braintree - for 2.1
1 parent 6065b1c commit cd22088

File tree

1 file changed

+5
-2
lines changed
  • app/code/Magento/Braintree/view/frontend/web/template/payment

1 file changed

+5
-2
lines changed

app/code/Magento/Braintree/view/frontend/web/template/payment/form.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,11 @@
140140
type="submit"
141141
data-bind="
142142
click: placeOrderClick,
143-
attr: {title: $t('Place Order')}
144-
">
143+
attr: {title: $t('Place Order')},
144+
css: {disabled: !isPlaceOrderActionAllowed()},
145+
enable: isActive()
146+
"
147+
disabled>
145148
<span data-bind="i18n: 'Place Order'"></span>
146149
</button>
147150
</div>

0 commit comments

Comments
 (0)