Skip to content

Commit 45306d6

Browse files
committed
MAGETWO-48372: Billing Agreement popup doesn't appear on product page after clicking on Checkout with Express button
1 parent 026bb9b commit 45306d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Paypal/view/frontend/web/js/in-context/billing-agreement.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ define([
1111

1212
$.widget('mage.billingAgreement', {
1313
options: {
14-
invalidateOnCreate: false,
14+
invalidateOnLoad: false,
1515
cancelButtonSelector: '.block-billing-agreements-view button.cancel',
1616
cancelMessage: '',
1717
cancelUrl: ''
@@ -24,7 +24,7 @@ define([
2424
_create: function () {
2525
var self = this;
2626

27-
if (this.options.invalidateOnCreate) {
27+
if (this.options.invalidateOnLoad) {
2828
this.invalidate();
2929
}
3030
$(this.options.cancelButtonSelector).on('click', function () {

0 commit comments

Comments
 (0)