Jump to content

Harald Ponce de Leon

  • Content count

  • Joined

  • Last visited

  • Days Won


Posts posted by Harald Ponce de Leon

  1. In the PayPal Account settings used for our demo site, the IPN settings are disabled so there isn't a need to enable it manually.


    You mentioned previously that PayPal notified you of IPN errors - are you still getting these notifications?


    If you don't see the IPN request coming in in your web server access logs, perhaps this is why:



    Once you or your service provider fix this problem, you or your service provider can resend the failed messages from the IPN History page. If this problem continues, PayPal may disable the IPN feature for your account.


    Maybe you need to contact them and state that the problem has been fixed?

  2. This is what should be logged for the order status history:



    1) PayPal [Transactions]: PayPal Verified [Transaction ID: XXXXXXXXXX; Pending (Verified; $38.99); authorization]
    2) Pending:
    3) PayPal [Transactions]: PayPal IPN Verified [Transaction ID: XXXXXXXXXX; Pending (Verified; $38.99); authorization]


    1) = Customer returning back to store

    2) = Order set to specified order status level

    3) = PayPal IPN


    If the customer doesn't return back to the store, this is what is logged:



    1) PayPal [Transactions]: PayPal IPN Verified [Transaction ID: XXXXXXXXXX; Pending (Verified; $38.99); authorization]


    1) = PayPal IPN; Order status level is simultaneously set to specified order status level (ie, Pending)


    Here is the matching web server access log record:


  - - [08/Aug/2014:10:23:33 +0200] "POST /demo/2/ext/modules/payment/paypal/standard_ipn.php HTTP/1.0" 200 0 "-" "PayPal IPN ( https://www.paypal.com/ipn )"


    You should also be seeing something similar in your access logs.

  3. I don't know what the problem is. Both payment module and IPN file use the same code to verify the transaction so if it passes when the customer returns back to the store, the IPN should pass and verify the transaction as well.
    If the IPN can't verify the transaction you should receive an e-mail with the result of the transaction.
    Can you check in your webserver and php error log files if any errors are being logged there?
    If you want the customer to automatically return to your store, enable Auto Return in your PayPal Account and enter the following url:

    If you have SSL, use the HTTPS link. The path must obviously also be changed to the location of your checkout_process.php file.
    Please note that this will also affect payments made on other websites that will then return to the specified URL.

  4. That depends on your PayPal Account settings as it's possible to block payments that aren't encrypted. If this hasn't been set then you can continue to process unencrypted payments.


    Regarding the IPN issue, enter your email address in the Send Debug E-Mail parameter and paste the result of the transaction here that you receive per email. Be sure to clear out any personal sensitive information.

  5. Apply the following change to the module sendTransactionToGateway() function after the curl_close() part:


    $result = curl_exec($curl);
    $response_array = array();
    parse_str($result, $response_array);
    echo '<pre>';var_dump($response_array);exit;
    That will show you the result of the transaction on the screen.