This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

PayPal payment status


  1. wan
    Member

    Hi,

    With PayPal :

    You can also manually change the payment status. ....

    "manually" ??? Cannot update the status automaticly when user finalized the payment ? Or is their something wrong with my configuration ?

    Thanks for your help.

    Posted 11 years ago #
  2. yuniar

    You don't need to manually change the payment status. Your form should automatically update the payment status.
    Unless there are problems with PayPal server connecting to your server. In this case, the payment status won't get updated.

    Can you contact us directly and let us know the login to your machform please?
    We'll check it.


    MachForm Founder

    Posted 11 years ago #
  3. wan
    Member

    What kind of access do you need ?
    The form management access or total MachForm administrator access ?

    Thanks.

    Posted 11 years ago #
  4. wan
    Member

    Oh ! Maybe the problem is from HTTPS.
    We are blocking MachForm only accessible via HTTPS. HTTP will get error. Maybe the status back by PayPal doesn't work with HTTPS ?

    Posted 11 years ago #
  5. wan
    Member

    Ok, I confirme that the PayPal IPN payment status use HTTP and not HTTPS. I have 403 and 301 error in Apache log file without SSL. So, the payment status back is wihout SSL.

    Posted 11 years ago #
  6. yuniar

    Ah,,yes, if you blocked HTTP, make sure to go to your Settings and set the "MachForm URL" to use HTTPS path.
    So that PayPal would connect to your server using HTTPS as well.


    MachForm Founder

    Posted 11 years ago #
  7. wan
    Member

    Ok, it's working with URL configured with HTTPS. Thanks.

    In another way, the status update is a little bit random successful. Maybe there is a timeout ? I checked log that PayPal has send back the status with ("POST /paypal_ipn.php HTTP/1.0" 200 - ). But the status cannot be updated for some payment. When I fill form quickly, it was ok. I tried to waiting 3 minutes to valid my payment on PayPal form, payment status isn't updated in MachForm, but PayPal has send status back.

    Posted 11 years ago #
  8. yuniar

    To investigate this further, you'll need to edit your "paypal_ipn.php" file. Search around line 30 for this code:

    $use_debug_mode = false;

    change it to become:

    $use_debug_mode = true;

    Then try testing your form again. The error log should be saved into "ipn_error_log.php", located under your "machform/data" folder.
    You can open that file to see the detailed error message.


    MachForm Founder

    Posted 11 years ago #
  9. wan
    Member

    I constate that the log file is already existed, old log lines were inside.

    [23-Oct-2013 12:14:44] cURL error: [60] Peer certificate cannot be authenticated with known CA certificates

    Posted 11 years ago #
  10. wan
    Member

    I tested and tested again. With debug mode, no payment status is updated automaticly.
    :'(

    Posted 11 years ago #
  11. wan
    Member

    Really frustrate, we must put the form online and the status update is doesn't work. So ...

    Posted 11 years ago #
  12. yuniar

    Can you contact us directly and let us know temporary FTP login to your machform folder please?
    We'll need to check it further.

    http://www.appnitro.com/contact


    MachForm Founder

    Posted 11 years ago #
  13. wan
    Member

    Thanks for your reply.
    But we have our server with internal management only. We don't use FTP.

    So, I'm supprise that the debug mode doesn't print more information about the status request with paypal_ipn.php.
    All the way, we must put our forms online today. We don't debug it now. But probably later when this forms will be closed.

    Posted 11 years ago #
  14. wan
    Member

    Hi,

    After 3 weeks in production with MachForm and put online the first event registration form for our organisation. I can tell that ONLY 1 registration was abled to update the status from PayPal via paypal_ipn.php. And it was a surprise, because the participant was sumitted his PayPal payment form less than 1 minute between the registration form submission and the PayPal one. So I think there is something like a timeout. Maybe MachForm isn't activated correctly ?

    Right now, I must check the status in PayPal interface and update it myself 1-by-1.

    Posted 11 years ago #
  15. yuniar

    Try to check into your PayPal account and see your IPN history. Follow this step:
    https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNOperations/

    You can find out the status of the IPN there that should help investigate the issue.


    MachForm Founder

    Posted 11 years ago #
  16. wan
    Member

    Hi Yuniar,

    Oh My God ! Resend can work ! YES !!!! :)

    Thanks.

    Posted 11 years ago #
  17. wan
    Member

    So bulk resend seem doesn't work.

    Posted 11 years ago #
  18. yuniar

    Did you get any error messages within the ipn_error_log.php after resending the IPN?
    If you didn't get any message, most likely PayPal wasn't able to connect to your IPN URL.


    MachForm Founder

    Posted 11 years ago #
  19. wan
    Member

    There is the same log that I have a month ago.

    [28-Nov-2013 15:22:16] cURL error: [60] Peer certificate cannot be authenticated with known CA certificates

    And I checked in the Apache log file, PayPal had requested with HTTP status 200.
    Some status can be updated, maybe there is a encodage problem ????

    Posted 11 years ago #
  20. yuniar

    Try to reupload the content of your "machform/lib/ipnlistener" from the original machform package.

    The most important thing is the "machform/lib/ipnlistener/cert/api_cert_chain.crt" file.
    This file must be exist.


    MachForm Founder

    Posted 11 years ago #

RSS feed for this topic

Reply »