mnmak Posted May 31, 2015 Share Posted May 31, 2015 Hi there, I am trying to add Amazon payments to my Prestashop (1.6.0.11). Installed the module they offer - AMAZON ADVANCED PAYMENTS APIS. The module installed without errors (error reporting was enabled to check), all restrictions are correctly set in Modules>Payment, all hooks are in place (checked with live edit) and yet the module simply does not show as a payment method in front office. I use one page checkout, tested with five page - no change. Disabled overrides - no change either. I use Paypal module - it works correctly. When disable it I get "No payment method is available for use at this time". Any help would be much appreciated. www.sangado.com Link to comment Share on other sites More sharing options...
mnmak Posted May 31, 2015 Author Share Posted May 31, 2015 After playing with some of the module's options I got these errors in the BO: Notice on line 29 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/MerchantValues.php[8] Undefined variable: serviceUrlNotice on line 30 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/MerchantValues.php[8] Undefined variable: widgetUrlNotice on line 31 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/MerchantValues.php[8] Undefined variable: caBundleFileNotice on line 32 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/MerchantValues.php[8] Undefined variable: clientIdUnknow error on line 94 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php[8192] iconv_set_encoding(): Use of iconv.output_encoding is deprecatedUnknow error on line 95 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php[8192] iconv_set_encoding(): Use of iconv.input_encoding is deprecatedUnknow error on line 96 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php[8192] iconv_set_encoding(): Use of iconv.internal_encoding is deprecatedNotice on line 703 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php[8] Undefined variable: portNotice on line 727 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php[8] Undefined variable: _configNotice on line 747 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php[8] Undefined offset: 1 Any ideas how to address them? Thanks in advance. Link to comment Share on other sites More sharing options...
mnmak Posted May 31, 2015 Author Share Posted May 31, 2015 (edited) Reinstalled the module, changed php version from 5.6 to 5.4 - no errors in BO, still no show in FO, but now errors showed in FO: Warning: require_once(): Dynamic inheritance detected for class paymentmodulecore in /classes/PrestaShopAutoload.php on line 109Warning: require_once(): Autofiltering /classes/PaymentModule.php in /classes/PrestaShopAutoload.php on line 109Warning: require_once(): Recompiling /classes/PaymentModule.php in /classes/PrestaShopAutoload.php on line 109 When changed back to 5.6 all errors disappeared - FO and BO, but the module still wont show in FO Edited May 31, 2015 by mnmak (see edit history) Link to comment Share on other sites More sharing options...
mnmak Posted May 31, 2015 Author Share Posted May 31, 2015 It is getting more and more confusing. No errors with error reporting ON, when I turned it of (in defines.inc.php) I got these errors in the module's page: Deprecated: iconv_set_encoding(): Use of iconv.output_encoding is deprecated in /modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php on line 94Deprecated: iconv_set_encoding(): Use of iconv.input_encoding is deprecated in modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php on line 95Deprecated: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php on line 96 Link to comment Share on other sites More sharing options...
mnmak Posted June 13, 2015 Author Share Posted June 13, 2015 Solved - The problem was from the Amazon side. Module works fine. Link to comment Share on other sites More sharing options...
stempol90 Posted August 19, 2015 Share Posted August 19, 2015 I have the same problem, as you solved it? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now