Skip to content

Commit 8d7e02b

Browse files
authored
Merge pull request #5 from Marvin-Magmodules/fix/success-is-not-a-function
Replace jqXHR.success with jqXHR.done
2 parents 962e824 + d09f0eb commit 8d7e02b

File tree

1 file changed

+1
-1
lines changed
  • view/frontend/web/js/view/payment/method-renderer

1 file changed

+1
-1
lines changed

view/frontend/web/js/view/payment/method-renderer/truelayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ define(
4747
},
4848

4949
_placeOrder: function () {
50-
return this.setPaymentInformation().success(function () {
50+
return this.setPaymentInformation().done(function () {
5151
this.orderRequest(customer.isLoggedIn(), quote.getQuoteId());
5252
}.bind(this));
5353
},

0 commit comments

Comments
 (0)