File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
Model/Adminhtml/Notifications Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,9 @@ private function shouldUpgrade(): void
103
103
104
104
private function getCloudVersion (): string
105
105
{
106
+ if (!function_exists ('curl_init ' )) {
107
+ return '' ;
108
+ }
106
109
$ ch = curl_init ('https://commercemarketplace.adobe.com/airwallex-payments-plugin-magento.html ' );
107
110
curl_setopt ($ ch , CURLOPT_RETURNTRANSFER , true );
108
111
curl_setopt ($ ch , CURLOPT_CONNECTTIMEOUT , 5 );
Original file line number Diff line number Diff line change 2
2
"name" : " airwallex/payments-plugin-magento" ,
3
3
"type" : " magento2-module" ,
4
4
"description" : " " ,
5
- "version" : " 1.12.3 " ,
5
+ "version" : " 1.13.2 " ,
6
6
"require" : {
7
7
"ext-json" : " *" ,
8
8
"php" : " ^7.4|^8.0" ,
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" ?>
2
2
3
3
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Module/etc/module.xsd" >
4
- <module name =" Airwallex_Payments" setup_version =" 1.12.3 " >
4
+ <module name =" Airwallex_Payments" setup_version =" 1.13.2 " >
5
5
<sequence >
6
6
<module name =" Magento_Sales" />
7
7
<module name =" Magento_Payment" />
Original file line number Diff line number Diff line change 7
7
</head >
8
8
<body >
9
9
<referenceBlock name =" product.info.addtocart.additional" >
10
- <block name =" product.info.addtocart.airwallex.additional" template =" Airwallex_Payments::express.phtml" cacheable = " false " before =" -" >
10
+ <block name =" product.info.addtocart.airwallex.additional" template =" Airwallex_Payments::express.phtml" before =" -" >
11
11
<arguments >
12
12
<argument name =" from" xsi : type =" string" >product_page</argument >
13
13
</arguments >
14
14
</block >
15
15
</referenceBlock >
16
16
<referenceBlock name =" product.info.addtocart" >
17
- <block name =" product.info.addtocart.airwallex" template =" Airwallex_Payments::express.phtml" cacheable = " false " before =" -" >
17
+ <block name =" product.info.addtocart.airwallex" template =" Airwallex_Payments::express.phtml" before =" -" >
18
18
<arguments >
19
19
<argument name =" from" xsi : type =" string" >product_page</argument >
20
20
</arguments >
You can’t perform that action at this time.
0 commit comments