New PayPal x.com API

the_fitz 20 Aug, 2012
Hi All,

I am working on a website that will require the purchase of a single item. I was going to use your "Paypal redirect" and "Paypal Listener (IPN return)" modules, but when I went to paypal to setup my IPN they said it is no longer available and that I would have to use their new API from X.com....

See this link... https://www.x.com/developers/paypal/documentation-tools/how-to-guides/how-use-express-checkout-one-time-payments

That being the case...
[list]
  • Will you be coming out with upgraded paypal modules quickly/soon?

  • Should I just hardcode this as custom code?

  • If I hardcode, which event will give me a similar function to the "Paypal Listener" with "on Verified", "On Invalid", and "On Error" event results?
  • [/list]

    Any other suggestions would be helpful...

    Thanks in advance for your time.
    MrFitz
    GreyHead 20 Aug, 2012
    Hi the_fitz,

    I don't see anything on the PayPal site (or in a Google search) to suggest that IPN is deprecated???

    It still seems to be offered and working.

    There is an example of using PayPal Express Payments Pro in the forums here I think.

    Bob
    GreyHead 14 Sep, 2012
    Hi MrFitz,

    If I read it correctly that says that HTTP 1.0 support is being deprecated in favour of HTTP 1.1

    I don't see anything about IPN being deprecated.

    Bob
    Max_admin 20 Sep, 2012
    Hi,

    Thank you, looks like a small a change will be needed to the "PayPal listener" action, that's all.๐Ÿ™‚

    Regards,
    Max
    Max, ChronoForms developer
    ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
    ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
    the_fitz 20 Sep, 2012

    Hi,

    Thank you, looks like a small a change will be needed to the "PayPal listener" action, that's all.๐Ÿ™‚

    Regards,
    Max



    I'm sure you hate this but. Will that update be available soon?๐Ÿคจ
    Thanks
    MrFitz
    GreyHead 20 Sep, 2012
    Hi The Fitz,

    This line
    $header = "POST /cgi-bin/webscr HTTP/1.0\r\n";
    needs to change to
    $header = "POST /cgi-bin/webscr HTTP/1.1\r\n";


    I think that the cURL option will adjust automatically, if not you'd need to add this option around line 70
    curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);


    But why the rush - the change doesn't happen until February 2013?

    Bob
    the_fitz 20 Sep, 2012
    Hi Bob,

    The rush? No, but I would rather complete my coding and deliver my job complete to my client without having to update him at some later date.

    Thanks
    MrFitz
    This topic is locked and no more replies can be posted.