News:

Support the VirtueMart project and become a member

Main Menu

Amazon Pay

Started by p.barg, April 24, 2019, 09:46:13 AM

Previous topic - Next topic

p.barg

Hi,

I'm struggling with the setup of "Pay with Amazon". After clicking on the button and entering the Amazon credentials, the checkout fails with the message that no shipment can be found for that address.
The problem seems to be that the Amazon widgets for address book and payment methods are not loaded. In the console I see warnings: "Das Skript von "https://payments.amazon.de/gp/widgets/abtests?merchantId=xxxx&abtestName=NEW_WIDGETS&callback=jsonp1556091402375" wurde geladen, obwohl sein MIME-Typ ("text/html") kein für JavaScript gültiger MIME-Typ ist." ("script loaded although it has a wrong MIME-type")
Tried with several templates even Protostar without any template overrides.
Joomla! 3.9.5, Virutemart 3.4.2.

Any hint how to solve this? Anyone with the same/similar problem?

Petra

p.barg

I've done some further testing and have the following remarks:

If there are are only shipping methods that are restricted to certain countries, the Amazon widgets won't load at all (if customer is not logged in in Joomla/VM).
I've added a shipping methods applicable to all countries (which is nothing I can do in the LIVE shop) and at least the Amazon Payment Methods Widget was shown.
But still the address book widget is not shown.

Any idea what could cause that issue?

GJC Web Design

My only comment is when using only Authorize I needed a hidden dummy VM std payment method to get Authorize to work correctly..

that was a while ago though and may have been fixed since
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

p.barg

Hi,

do you mean Amazon? You say Authorize...

But I have some standard payment methods in addition to amazon pay - so that can't be the issue.


GJC Web Design

Authorize -- it is the logic in the templates to display the methods .. if I ONLY had Authorize the CC form never showed etc .. as I say .. was a while ago but afaik the cart payment method logic is still the same
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

p.barg

OK thanks.
But I do have several other (VM standard) pament methods, so that can't be the issue here.
I've read in a different (fairly old) thread that someone else had the same problem with the address book widget not appearing.

p.barg

Update for those who are also struggling with Amazon Pay:

we finally discovered that the problems resulted from the fact, that the products in the shop didn't have a weight.
Products are then considered as digital and the amazon address gadget is not displayed.
After entering weights for the products, the checkout process was successful.