PayPal fix for v3: Discussion

Discussion in 'Payments processing' started by alex, Jan 30, 2013.

  1. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    This topic has been created for discussion regarding this change and for related questions.
  2. rickydeez

    rickydeez New Member

    Joined:
    Aug 3, 2007
    Messages:
    20
    Is it better to add in the change even if you have a version above 3.0.6?
  3. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
  4. ntc69

    ntc69 Member

    Joined:
    Apr 9, 2005
    Messages:
    53
    Why are latest versions of v3 unaffected if that line of code isn't present? Is there something else different?
  5. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Starting from 3.0.6 aMember uses 'curl' PHP extension to contact PayPal website. If this extension is not enabled, aMember will failback to old method, and then it may be affected by this issue.
    To check if your webhosting has curl enabled, go to aMember CP -> Version Info, and seek for word "curl" on the page. If you find this word, and you have aMember Pro 3.0.6+ then you do not need to apply any fixes.
    rickydeez likes this.
  6. oreamnos

    oreamnos New Member

    Joined:
    Jul 1, 2007
    Messages:
    13
    According to PayPal, we should also be adding Connection Close code... Should we also modify the code provided in the blog post to have this connection close code mentioned here: https://www.x.com/node/320404

    PHP:
    $header .= "Connection: close\r\n\r\n";

Share This Page