File tree 3 files changed +8
-2
lines changed
view/frontend/web/js/view/payment/method-renderer
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " paymentwall/module-magento2" ,
3
3
"description" : " Offical Paymentwall module for Magento 2" ,
4
- "version" : " 2.3.0 " ,
4
+ "version" : " 2.3.1 " ,
5
5
"type" : " magento2-module" ,
6
6
"homepage" : " https://www.paymentwall.com/?source=gh" ,
7
7
"keywords" : [
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
<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 " >
4
4
<sequence >
5
5
<module name =" Magento_Sales" />
6
6
<module name =" Magento_Payment" />
Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ define(
28
28
initialize : function ( ) {
29
29
this . _super ( ) ;
30
30
31
+ let countryId = quote . shippingAddress ( ) . countryId
32
+ if ( countryId ) {
33
+ this . billingCountryId ( countryId ) ;
34
+ this . getPaymentwallLocalMethods ( countryId ) ;
35
+ }
36
+
31
37
quote . billingAddress . subscribe ( function ( address ) {
32
38
if ( address && address . countryId && address . countryId != this . billingCountryId ( ) ) {
33
39
this . billingCountryId ( address . countryId ) ;
You can’t perform that action at this time.
0 commit comments