Skip to content

Commit 2a573d7

Browse files
masonmason
mason
authored and
mason
committed
Merge branch 'dev-v2.1-master' into v2.1-master
2 parents 7eb7e07 + 6d3501e commit 2a573d7

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "paymentwall/module-magento2",
33
"description": "Offical Paymentwall module for Magento 2",
4-
"version": "2.3.0",
4+
"version": "2.3.1",
55
"type": "magento2-module",
66
"homepage": "https://www.paymentwall.com/?source=gh",
77
"keywords": [

etc/module.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0"?>
22
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
3-
<module name="Paymentwall_Paymentwall" setup_version="2.3.0" schema_version="2.3.0">
3+
<module name="Paymentwall_Paymentwall" setup_version="2.3.1" schema_version="2.3.1">
44
<sequence>
55
<module name="Magento_Sales"/>
66
<module name="Magento_Payment"/>

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

+6
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ define(
2828
initialize: function () {
2929
this._super();
3030

31+
let countryId = quote.shippingAddress().countryId
32+
if (countryId) {
33+
this.billingCountryId(countryId);
34+
this.getPaymentwallLocalMethods(countryId);
35+
}
36+
3137
quote.billingAddress.subscribe(function (address) {
3238
if (address && address.countryId && address.countryId != this.billingCountryId()) {
3339
this.billingCountryId(address.countryId);

0 commit comments

Comments
 (0)