FIX: Magento PayPal checkout fout

Gebruikt u een PayPal express checkout voor uw Magento webshop? En geeft deze de error ‘Unable to communicate with the PayPal gateway’ wanneer u op ‘Check out with PayPal’ klikt?

Wanneer de Magento logs zijn ingeschakeld ziet u in exeption.log twee foutmeldingen:

exception ‘Mage_Core_Exception’ with message ‘Unable to communicate with the PayPal gateway.’

en

exception ‘Exception’ with message ‘PayPal NVP CURL connection error #77: Problem with the SSL CA cert (path? access rights?)’

Dit geeft aan dat PayPal niet goed geconfigureerd is, namelijk de parameter CALLBACK. Op de PayPal developers page wordt het volgende geschreven over deze parameter:

CALLBACK: (Optional) URL to which the callback request from PayPal is sent. It must start with HTTPS for production integration. It can start with HTTPS or HTTP for sandbox testing.

Character length and limitations: 1024 single-byte characters.

This field is available since version 53.0.

Waarschijnlijk probeerde u een express checkout te gebruiken vanaf een http winkelwagen, wat niet meer is toegestaan door PayPal in productieomgevingen.

Oplossing? Koop een SSL certificaat (als u er nog geen heeft), configureer Magento’s base secure URL in Magento’s systeem configuratie en het probleem zal opgelost zijn.

Geef een reactie

Het e-mailadres wordt niet gepubliceerd.

This blog is kept spam free by WP-SpamFree.

Contact