Announcement

Collapse
No announcement yet.

Paypal orders; session errors, ipn sent but not in completed payments!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Paypal orders; session errors, ipn sent but not in completed payments!

    Here's the deal. We've been previously struggling with Paypal and Actinic. We also had the problem with the Net::SSL. After we installed this it worked perfectly again. But now for 3 days (since 23 november) paypal payments do not get their "Pending service payment providers" completed status. The remain in the tab "Pending service payment providers"! Payments that will go through the creditcard route (through securehosting) don't experience this problem.

    To sum op the problem:
    - PayPal does sent the IPN our correctly and verifies it's there
    - Actinic doesn't see that the payment has been made so it gets in the "Pending folder" and doesn't get out.
    - At the end of an Paypal payment we get this error:

    A General Script Error Occurred
    Error: ../acatalog/213Z10Z121Z108A1289573777B32599.session can not be locked during Session init!
    Press the Browser back button and try again or contact the site owner
    So with above error I've search the community, and tried the following:

    Edit ActinicConstants.pm and search for PAYPAL.

    You should see...

    $::PAYMENT_PAYPAL = 900;
    $::PAYMENT_NOCHEX = 52;

    comment these lines out by preceding the lines with '#' so it reads...

    # $::PAYMENT_PAYPAL = 900;
    # $::PAYMENT_NOCHEX = 52;

    Save and exit
    Update the site.
    This caused the the error was gone, BUT Paypal IPN's are failing!!!!!

    So went through and tried this:

    Edit Session.pm
    Search for 'sub GetSessionFileName' you will see...

    sub GetSessionFileName
    {
    my $Self = shift;
    my $sID = shift;
    my $sPath = $Self->GetSessionFileFolder();
    return ($sPath . $sID . '.session');
    }

    Insert after this ...

    sub DESTROY
    {
    my $Self = shift;
    $Self->{_LOCKER}->Unlock()
    }

    Save and exit
    Update the site
    ________________
    Nothing changed, everything still errors!

    I tried them both together and seperate, but it's not working.
    If anybody has any advice, please help!

    Using Actinic version 7.
    I've also done a complete site refresh 2 times allready.
    As I mentioned earlier, this has been happening since 23 november.

    #2
    Try relaxing permissions on the acatalog folder from 755 to 777. Just a hunch.

    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


      #3
      It allready is on 777

      Comment

      Working...
      X