From e88d00201d47bbb7e38f8f44a86862807b9705fe Mon Sep 17 00:00:00 2001 From: david Date: Tue, 15 Aug 2023 10:48:04 +0300 Subject: [PATCH] update integration with new param elementId --- view/frontend/web/js/view/cart/donmo-block.js | 2 +- view/frontend/web/js/view/checkout/summary/donmo-block.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/view/frontend/web/js/view/cart/donmo-block.js b/view/frontend/web/js/view/cart/donmo-block.js index 6e35a58..df4baae 100644 --- a/view/frontend/web/js/view/cart/donmo-block.js +++ b/view/frontend/web/js/view/cart/donmo-block.js @@ -25,7 +25,6 @@ define([ } const payload = { - cartId, donationAmount }; @@ -53,6 +52,7 @@ define([ { publicKey: this.donmoConfig.publicKey, isBackendBased: true, + elementId: 'donmo-roundup', language: this.donmoConfig.language, orderId: quote.getQuoteId(), integrationTitle: this.donmoConfig.integrationTitle, diff --git a/view/frontend/web/js/view/checkout/summary/donmo-block.js b/view/frontend/web/js/view/checkout/summary/donmo-block.js index 6e35a58..df4baae 100644 --- a/view/frontend/web/js/view/checkout/summary/donmo-block.js +++ b/view/frontend/web/js/view/checkout/summary/donmo-block.js @@ -25,7 +25,6 @@ define([ } const payload = { - cartId, donationAmount }; @@ -53,6 +52,7 @@ define([ { publicKey: this.donmoConfig.publicKey, isBackendBased: true, + elementId: 'donmo-roundup', language: this.donmoConfig.language, orderId: quote.getQuoteId(), integrationTitle: this.donmoConfig.integrationTitle,