Skip to content

Commit

Permalink
Merge branch 'bugfix/make-billie-message-translatable' into release-w…
Browse files Browse the repository at this point in the history
…eek-38
  • Loading branch information
michielgerritsen committed Sep 21, 2023
2 parents 990c1e9 + 0763b9a commit 0524a87
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions view/frontend/web/js/view/payment/method-renderer/billie.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,29 +46,6 @@ define(
}

return true;
},

bbbbbeforePlaceOrder: function () {
var serviceUrl;

/**
* We retrieve a payment token. This is used to start the transaction once the order is placed.
*/
if (customer.isLoggedIn()) {
serviceUrl = urlBuilder.createUrl('/carts/mine/mollie/payment-token', {});
} else {
serviceUrl = urlBuilder.createUrl('/guest-carts/:quoteId/mollie/payment-token', {
quoteId: quote.getQuoteId()
});
}

var promise = storage.get(serviceUrl);

promise.done( function (result) {
this.paymentToken(result);
}.bind(this));

return promise;
}
}
);
Expand Down

0 comments on commit 0524a87

Please sign in to comment.