Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author David Gewirtz

    (@dgewirtz)

    The actual IPN URL is generated based on where the code for the IPN PHP file is located on your server. The old one is located right at the top level of Seamless Donations’ folder and begins with dgx-donate for legacy reasons. The new one moves payments intos its own pay folder and is the /pay/paypalstd/ipn.php thing. You should be using that unless you’re entirely unable to use SSL payments (and you better be within a few months or everything will break).

    Once you have that URL, you need to go into your PayPal account and change it to the URL in question. If you’re using the sandbox mode, you need to log into PayPal’s sandbox with your sandbox account.

    –David

    Thread Starter herzmaster

    (@herzmaster)

    Thanks David,
    perhaps I have not made myself clear enough. I have already set up the sandbox as you described. But paypal still tries to send to “https://herz-kinder-hilfe.de/wp-content/plugins/seamless-donations/dgx-donate-paypalstd-ipn.php” instead what I have saved as IPN in paypal…and that is where the payment notification enters in to waiting (transaction is done) .
    The log shows that two different IPNs seemed to be transmitted:

    2016-05-25 23:57:56 PREPARING DONATION FORM
    2016-05-25 23:57:56 Seamless Donations Version: 4.0.17
    2016-05-25 23:57:56 User browser: Firefox 46.0
    2016-05-25 23:57:56 Assigning hidden field session ID to SDS01-42A34E75-3A51-577A-9F30-16228EE6FE35
    2016-05-25 23:57:56 Form action via: initiating page
    2016-05-25 23:57:56 Form action: https://herz-kinder-hilfe.de/spenden-mit-herz/onlinespenden/
    2016-05-25 23:58:28 —————————————-
    2016-05-25 23:58:28 DONATION TRANSACTION STARTED
    2016-05-25 23:58:28 Processing mode: SANDBOX
    2016-05-25 23:58:28 PHP Version: 5.6.20
    2016-05-25 23:58:28 Seamless Donations Version: 4.0.17
    2016-05-25 23:58:28 User browser: Firefox 46.0
    2016-05-25 23:58:28 IPN (http): https://herz-kinder-hilfe.de/wp-content/plugins/seamless-donations/dgx-donate-paypalstd-ipn.php
    2016-05-25 23:58:28 IPN (https): https://herz-kinder-hilfe.de/wp-content/plugins/seamless-donations/pay/paypalstd/ipn.php
    2016-05-25 23:58:28 Payment process nonce dcb8da6ba7 validated.
    2016-05-25 23:58:28 Session ID retrieved from _POST: SDS01-42A34E75-3A51-577A-9F30-16228EE6FE35
    2016-05-25 23:58:28 Looking for pre-existing session data (guid/audit db mode): SDS01-42A34E75-3A51-577A-9F30-16228EE6FE35
    2016-05-25 23:58:28 Duplicate session data not found. Payment process data assembly can proceed.
    2016-05-25 23:58:28 Success URL: https://herz-kinder-hilfe.de/spenden-mit-herz/onlinespenden/?thanks=true
    2016-05-25 23:58:28 Saving transaction data using guid/audit db mode
    2016-05-25 23:58:28 Name: Don Testman
    2016-05-25 23:58:28 Amount: 5
    2016-05-25 23:58:28 Preparation complete. Entering PHP post code.
    2016-05-25 23:58:28 Checking for repeat. REPEAT value is [].
    2016-05-25 23:58:28 Computed RETURN value: 'https://herz-kinder-hilfe.de/spenden-mit-herz/onlinespenden/?thanks=true'
    2016-05-25 23:58:28 Redirecting to PayPal… now!

    Plugin Author David Gewirtz

    (@dgewirtz)

    An IPN is never transmitted. That’s just shown so you know the (temporarily) two choices to send PayPal to. The IPN that PayPal uses is a string you copy from the Seamless Donations settings page and paste into the PayPal settings page.

    My guess is you’re not logging into the right sandbox account on PayPal, but in any case, where PayPal sends you is out of my control. It’s up to what settings you set there and what PayPal does with it.

    –David

    Thread Starter herzmaster

    (@herzmaster)

    as I mentioned David the transaction is done in terms of money transfer but waiting / retrying in the sandbox to notify with the wrong IPN:

    Current settings
    Notification URL https://herz-kinder-hilfe.de/wp-content/plugins/seamless-donations/pay/paypalstd/ipn.php
    Message delivery Enabled

    Instant Payment Notification (IPN) details

    Message ID: 1ST49456NY085093N
    Date/time created: 25.05.2016 14:59 PDT
    Original/Resent: Original
    Latest delivery attempt date/time:
    25.05.2016 19:28 PDT
    Notification URL: https://herz-kinder-hilfe.de/wp-content/plugins/seamless-donations/dgx-donate-paypalstd-ipn.php
    HTTP response code: 500
    Delivery status: Retrying
    No. of retries: 1
    Transaction ID: 2CF019725G3698117
    IPN type: Transaction made

    Plugin Author David Gewirtz

    (@dgewirtz)

    It seems that neither IPN responds, so both aren’t accessible to PayPal, regardless of what’s set on the PayPal side. You’ll need to fix that first.

    –David

    Thread Starter herzmaster

    (@herzmaster)

    Hi David,
    tried to find out with the support team of our provider. They interpret the error_log server side that the files that paypal wants to reach are not in the right directory. Can you help?:

    [Sun May 29 23:37:03.857570 2016] [:error] [pid 23756:tid 139911025874688] [client 173.0.82.126:23818] PHP Warning: require_once(/var/www/web68/html/wordpress/wordpresswp-settings.php): failed to open stream: No such file or directory in /var/www/web68/html/wordpress/wp-config.php on line 87

    [Sun May 29 23:37:03.857665 2016] [:error] [pid 23756:tid 139911025874688] [client 173.0.82.126:23818] PHP Fatal error: require_once(): Failed opening required ‘/var/www/web68/html/wordpress/wordpresswp-settings.php’ (include_path=’.:/opt/php/5.6.22/share/pear’) in /var/www/web68/html/wordpress/wp-config.php on line 87

    Plugin Author David Gewirtz

    (@dgewirtz)

    I think you’ve got wordpress installed inside wordpress. Basically, it looks like you somehow installed the wordpress folder in a subdirectory of the wordpress folder. This appears to be breaking things.

    –David

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PayPal IPN URL will not change’ is closed to new replies.