OXID eFire Extension PayPal // IPN-Problem

Bitte wie im Bugtracker beschrieben direkt an PayPal wenden. Die können etwas mit diesen tracking IDs anfangen, aber nur 24 Stunden lang.
https://bugs.oxid-esales.com/view.php?id=6122

Kann ich bestätigen. Und das Problem liegt nicht an PayPal sondern eindeutig an einem Bug in der OXID eFire Extension PayPal !
Und von Seiten der Oxid-Entwicklung kommt nur ‘can’t reproduce’ und man könne sich ja an den PayPal-Support direkt wenden. :frowning:

Ich bin dann mal weg.

Es kann wohl zu Problemen mit der AKAMAI-Firewall kommen. Um diese Firewall zu umgehen, kann man als Post-Back-URL folgende URL verwenden: https://ipnpb.paypal.com/cgi-bin/webscr
Dazu müsste es reichen in der Datei modules/oe/oepaypal/core/oepaypalconfig.php die Funktion \oePayPalConfig::getIPNResponseUrl zu ändern.

public function getIPNResponseUrl()
{
    if ($this->isSandboxEnabled()) {
        return 'https://ipnpb.sandbox.paypal.com/cgi-bin/webscr&cmd=_notify-validate';
    } else {
        return 'https://ipnpb.paypal.com/cgi-bin/webscr&cmd=_notify-validate';
    }
}

Habe mit diesem Code folgende Fehlermeldung beim IPN Simulator erhalten:

<html> <head><title>502 Bad Gateway</title></head> <body bgcolor="white"> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.6.0</center> </body> </html> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page --> <!-- a padding to disable MSIE and Chrome friendly error page -->

Mit dem alten Code erhalte ich folgendes:

IPN has been sent.

Der technische Support hat mir folgendes geschrieben:

Checking your profile, currently, this function is not enabled yet but you pass a variable to your integration that calls an URL and tries to send an IPN message. This URL is: Domain.com
The variables are “notify_url” (if you use WPS) or “PAYMENTREQUEST_n_NOTIFYURL” if you use Express Checkout.

You can resolve this issue in two different ways:

  1. Enable IPN, make a listener and provide us the URL

In this case, please, follow the steps below:

  1. Access your PayPal account (www.paypal.com)
  2. Click on Profile
  3. Click on Instant Payment Notification Preferences
    **Please note that if you have new Layout on your PayPal account you need to click on My selling preferences and then on Update just beside Instant payments notifications
  4. Click on Choose IPN Settings
  5. Add a Notification URL
  6. Make sure to check IPN messages on Receive IPN messages (Enabled)
  7. Click on Save

Make sure also to check every value of the variable notify_url (if you use WPS) in every PayPal button or PAYMENTREQUEST_n_NOTIFYURL (if you use Express Checkout). Their value can overwrite the value you wrote on your PayPal profile for Notification URL.

  1. Checking your integration and remove the variables below:
  • “notify_url” (if you use WPS)
  • “PAYMENTREQUEST_n_NOTIFYURL” if you use Express Checkout.

Hallo,

wer hat entweder die Datei des PayPal-Moduls angepasst oder den Eintrag bei PayPal vorgenommen?
Hat diese Änderung etwas bewirkt?

ceau Markus