Jump to content

Payment module does not show in front office.


mnmak

Recommended Posts

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

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: serviceUrl

Notice on line 30 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/MerchantValues.php
[8] Undefined variable: widgetUrl

Notice on line 31 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/MerchantValues.php
[8] Undefined variable: caBundleFile

Notice on line 32 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/MerchantValues.php
[8] Undefined variable: clientId

Unknow error on line 94 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php
[8192] iconv_set_encoding(): Use of iconv.output_encoding is deprecated

Unknow error on line 95 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php
[8192] iconv_set_encoding(): Use of iconv.input_encoding is deprecated

Unknow error on line 96 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php
[8192] iconv_set_encoding(): Use of iconv.internal_encoding is deprecated

Notice on line 703 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php
[8] Undefined variable: port

Notice on line 727 in file /modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php
[8] Undefined variable: _config

Notice 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

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 109

Warning: require_once(): Autofiltering /classes/PaymentModule.php in /classes/PrestaShopAutoload.php on line 109

Warning: 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 by mnmak (see edit history)
Link to comment
Share on other sites

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 94

Deprecated: iconv_set_encoding(): Use of iconv.input_encoding is deprecated in modules/amzpayments/vendor/OffAmazonPaymentsService/Client.php on line 95

Deprecated: 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

  • 2 weeks later...
  • 2 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...