Skip to content

Commit 71fb8e3

Browse files
committed
MAGETWO-99606: Braintree - JS SDK v3 support
1 parent 3b24961 commit 71fb8e3

File tree

1 file changed

+0
-3
lines changed
  • app/code/Magento/Braintree/view/frontend/web/js/view/payment/method-renderer

1 file changed

+0
-3
lines changed

app/code/Magento/Braintree/view/frontend/web/js/view/payment/method-renderer/cc-form.js

-3
Original file line numberDiff line numberDiff line change
@@ -207,16 +207,13 @@ define(
207207
placeOrder: function (key) {
208208
var self = this;
209209

210-
self.isPlaceOrderActionAllowed(false);
211-
212210
if (key) {
213211
return self._super();
214212
}
215213
// place order on success validation
216214
validatorManager.validate(self, function () {
217215
return self.placeOrder('parent');
218216
}, function (err) {
219-
self.isPlaceOrderActionAllowed(true);
220217

221218
if (err) {
222219
self.showError(err);

0 commit comments

Comments
 (0)