Skip to content

Commit

Permalink
Bnpl 2705 hotfix (#49)
Browse files Browse the repository at this point in the history
* shipping address hotfix

* version bump
  • Loading branch information
tikohov20 authored Dec 13, 2022
1 parent 3dcb8c3 commit 6fc6d0a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mondu/magento2-payment",
"description": "Mondu payment method for magento 2",
"type": "magento2-module",
"version": "1.1.9",
"version": "1.1.10",
"license": [
"MIT"
],
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Mondu_Mondu" setup_version="1.1.9">
<module name="Mondu_Mondu" setup_version="1.1.10">
<sequence>
<module name="Magento_Sales"/>
<module name="Magento_Payment"/>
Expand Down
4 changes: 3 additions & 1 deletion view/frontend/web/js/view/payment/method-renderer/mondu.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ define([
isBillingSameAsShipping: true,

initObservable: function () {
self = this;
var self = this;
self._super().observe(["transactionResult"]);
billingAddress().isAddressSameAsShipping.subscribe(function (
isSame
Expand Down Expand Up @@ -73,11 +73,13 @@ define([
},

getMonduCheckoutTokenUrl: function () {
var self = this;
return window.checkoutConfig.payment[self.getCode()]
.monduCheckoutTokenUrl;
},

getMonduSdkUrl: function () {
var self = this;
return window.checkoutConfig.payment[self.getCode()].sdkUrl;
},

Expand Down

0 comments on commit 6fc6d0a

Please sign in to comment.