Skip to content

Commit 7f35e6d

Browse files
committed
Remove api check on isPayPlugAvailable which caused slowness issues
1 parent e1a766c commit 7f35e6d

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

Config/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<language>en_US</language>
1818
<language>fr_FR</language>
1919
</languages>
20-
<version>1.0.9</version>
20+
<version>1.1.0</version>
2121
<authors>
2222
<author>
2323
<name>Vincent Lopes-Vicente</name>

Service/PaymentService.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@ public function isPayPlugAvailable()
3333
return false;
3434
}
3535

36-
// Check API availability
37-
try {
38-
Payment::listPayments(1);
39-
} catch (\Exception $exception) {
40-
return false;
41-
}
42-
4336
return true;
4437
}
4538

0 commit comments

Comments
 (0)