Amazon Payments not working on OXID eShop CE 4.7.2_53018

Amazon Payments, 1.1.12 php 5.2 | Stable | PE, EE, CE | 4.4.x - 4.7.x

http://exchange.oxid-esales.com/de/Auftragsabwicklung-Logistik/Zahlungsmethoden/Amazon-Payments-1-1-12-php-5-3-Stable-EE-PE-4-4-x-4-7-x.html

in the step 4. ORDER
when submitting the order. it failed.
:mad:

actually inside this package, no officially 4.7x files ready, need to modify based on 4.6x files.

thanks for your report - as far as I have found out, Amazon-Payments is not yet ported to 4.7.x and the tag in eXchange was set wrongly

I have informed the persons in charge to change this.

PHP Fatal error: Call to a member function getBruttoPrice() on a non-object in /var/www/vhosts/pico-system.com/httpdocs/eshop/modules/psamazonpayments/views/psorder.php on line 174, referer: https://www.pico-system.com/eshop/index.php?cl=order&

[QUOTE=Hebsacker;113083]thanks for your report - as far as I have found out, Amazon-Payments is not yet ported to 4.7.x and the tag in eXchange was set wrongly

I have informed the persons in charge to change this.[/QUOTE]

if it’s possible to port to 4.7.x easily?

sorry - no clue about that…

I guess it is not that easy, as not only paths have changed in 4.7 - some code things as well…

I’ve submit a bug report:
https://bugs.oxid-esales.com/view.php?id=4839

Hi leo.li,

thanks for your bug report - not bad for somebody who is new to us :slight_smile:

Anyway, I closed it again and dropped an email to Amazon, the vendor of this extension, who is responsible for the support.

Cheers!

same error for oxid 4.6.5
OXID_ESHOP_CE_4.6.5_49955

[Sun Jan 13 03:16:05 2013] [error] [client 123.234.16.221] PHP Fatal error: Call to a member function getBruttoPrice() on a non-object in /var/www/vhosts/pico-system.com/httpdocs/eshop465/modules/psamazonpayments/views/psorder.php on line 174, referer: http://www.pico-system.com/eshop465/index.php?cl=order&&lang=1

I found out the root cause:
Amazon payment must enable the following theme’s feature:
[B]Use vouchers[/B]

otherwise, it will failed to PHP Fatal error: Call to a member function getBruttoPrice()

works well on CE 4.7.2 53018 and CE 4.6.5 49955,
both tested.

Did I get that right - the payment module does not work if not set
[I]Extensions -> Themes -> [Azure] -> Tab “Settings” -> Features -> “Use Vouchers”[/I] ?

Do you know why? What exactly is preventing the funcionality?

[QUOTE=Hebsacker;113532]Did I get that right - the payment module does not work if not set
[I]Extensions -> Themes -> [Azure] -> Tab “Settings” -> Features -> “Use Vouchers”[/I] ?

Do you know why? What exactly is preventing the funcionality?[/QUOTE]

yes, true.
I don’t know why. the code is zend protected. The error message was posted in the previous threads.

thanks anyway - I will forward this additional information