Author Topic: Amazon Pay not updated with VM 3.6.8 - still on 3.4.2; billto data incomplete  (Read 1688 times)


  • Beginner
  • *
  • Posts: 6
  • A beginner
Hi all,

I recently updated from VirtueMart 3.4.2 to 3.6.8.
Every vmpayment plugin has been updated correctly to 3.6.8 as well but only Amazon is still on 3.4.2 (the one in the system folder and the on in the vmpayment folder, too).

It's a strange behavior because if I check the version number of the Amazon Pay plugin in the installation zip (com_virtuemart. it says:
Code: [Select]
    <creationDate>November 06 2019</creationDate>
    <author>The VirtueMart Development Team</author>
    <copyright>Copyright (C) 2004 - 2019 Virtuemart Team. All rights reserved.</copyright>
    <license> GNU/GPL</license>
    <description>AMAZON PAY plugin</description>
        <language tag="en-GB">en-GB.plg_vmpayment_amazon.ini</language>
        <filename plugin="amazon">amazon.php</filename>

I already tried different things:
  • Installing via
  • Installing AIO again via
  • Clearing Joomla cache
  • Refreshing cache of the plugin under Manage > Refresh cache

I also tried replacing the following files:
  • Replaced folder on ftp: plugins/vmpayment/amazon with folder from zip: com_virtuemart.
  • Replaced folder on ftp: plugins/system/amazon with folder from zip: com_virtuemart.

If I do that, I'm getting several error message on my administrator page:
Code: [Select]
Warning: require_once(OffAmazonPaymentsService/MerchantValuesBuilder.php): failed to open stream: No such file or directory in /home/www/myserver/myfolder/plugins/vmpayment/amazon/library/OffAmazonPaymentsService/Client.php on line 23

Fatal error: require_once(): Failed opening required 'OffAmazonPaymentsService/MerchantValuesBuilder.php' (include_path='/home/www/') in /home/www/myserver/myfolder/plugins/vmpayment/amazon/library/OffAmazonPaymentsService/Client.php on line 23

I guess even if I found those files like MerchantValuesBuilder.php on the web and uploaded it, that wouldn't been a clean solution and I doubt it would work. Because I already tried uploading those missing files, but I'm just getting messages, that even more files are missing.

I would not mind but I currently have a problem with Amazon Pay which I hope can be solved by an update.
Currently, if someone pays via Amazon Pay, in the emails VirtueMart is sending out, customer data is incomplete.

Emails and debug info contain the following values for:
  • zip
  • city
  • country

The values of the following fields are shown as "-" in emails and debug info:
  • first name
  • last name
  • street
  • number

The zip, city and country is there but everything else is just shown by a "-".
Although the data in the VirtueMart administration ("orders") is complete.

Maybe somebody can help me here?
I already tried debugging but also in my var_dump() only zip, street and country is visible.

Thank you so much in advance!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9748
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
and if u just zip the Amazon pay folder in the install pack and install that?
GJC Web Design
VirtueMart and Joomla Developers - php developers
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
Contact for any VirtueMart or Joomla development & customisation


  • Beginner
  • *
  • Posts: 8
It's not enough to zip the latest amazon folder from AiO and install this zip.
The missing files are not in the AiO package.

As mentioned here ( you'll have to download the magento-plugin.
Then copy all missing files from the lib folder to the amazon library-folder (plugins/vmpayment/amazon/library).
It seems that you do not have to override any existing files.

Testet with latest Virtuemart 3.6.10.