mageprince / magento2-paymentfee

Magento 2 Payment Fee by MagePrince helps admin to set payment fees to charge customers for selecting a specific payment method to complete their order from all available payment methods.
25 stars 19 forks source link

Compilation Error on Module Enable #23

Closed NoSGR closed 2 years ago

NoSGR commented 2 years ago

Hello,

I've just tried to install the module on Magento 2.3 with PHP 7.1 and i'm getting this error when i'm trying to compile:

PHP Parse error: syntax error, unexpected 'State' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /home/***/www/vendor/prince/magento2-paymentfee/Helper/Data.php on line 59

mageprince commented 2 years ago

Hi @NoSGR, thank you for your report.

This is fixed with commit: 9bdb20a4f5f91754fbf450d7ee37bc8008ab86e0 We have added a new version(2.1.7) on Magento Marketplace. You can upgrade it once it is approved by the Magento marketplace. Normally it would take 2-3 hrs.

NoSGR commented 2 years ago

Thank you very much! It works now!

mageprince commented 2 years ago

Hi @NoSGR Glad to know that your issue has been resolved now.

Can you please write a review on Google: https://g.page/r/CeQIoyaydOkKEB0/review

It would help us a lot. Thank you in advance.