WordPress.org

Ready to get started?Download WordPress

Forums

eShop
PayPal IPN with or without SSL (4 posts)

  1. kitchin
    Member
    Posted 2 years ago #

    Since ver. 6.2.11, eShop has switched to using a secure connection to verify the payment from Paypal with IPN on port 443. For servers that do not have openSSL, there is commented out code to switch back to the old way on port 80. There are also some typos in the error variables, so I wrote a better handler. It detects whether SSL is available on the server.

    Here is my diff: http://pastebin.com/JzRJ1Q7t

    One problem I am having is with Paypal Sandbox. Seems it now requires SSL. Otherwise it sends back a redirect "HTTP/1.0 302 Found
    Location: https://www.sandbox.paypal.com" instead of a "HTTP/1.1 200 ... VERIFIED" message. Live payments are OK, it is just a Sandbox issue. Nothing we can do about that except maybe warn the shop owner. I am following the issue here: https://www.x.com/developers/paypal/forums/instant-payment-notifications-ipn-payment-data-transfer-pdt/ssl-transport-layer-security-required

    http://wordpress.org/extend/plugins/eshop/

  2. elfin
    Moderator
    Plugin Author

    Posted 2 years ago #

    if you have seen typo's then please let us know what they are so that they can be corrected.

    I didn't make a chance recently, the last change was a while ago when Paypal insisted that https be used for the sandbox.

    Remember if you make a change, then it will be over written the next time you update.

  3. kitchin
    Member
    Posted 2 years ago #

    Thanks for the confirmation about the sandbox requiring SSL. The reply at x.com seems to be wrong.

    I see my pastebin in borked. Here is a fresh one: http://pastebin.com/cEfddnLP

    The typos are in the error variables if you happen to have error logging turned on: $errnum: $errstr

  4. elfin
    Moderator
    Plugin Author

    Posted 2 years ago #

    I am hopefully going to be looking at any outstanding issues for the next release by the end of the month - hopefully.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic