phpLD v3.2 and Payment Issue

Discussion in 'Directories' started by Fastian, Jul 20, 2007.

  1. #1
    I just finished upgrading from v3.1 to v3.2 and seems like there are few things ready to bug me.

    In my System  Payment, all links are showing “Payment Status” as “Unclear”. Shouldn’t that be “Paid” as I am not using any subscription option ??

    I even tried test submission with the help of a friend and new links also get the status of “Unclear” even after the payment.

    M I missing something here?? Isn’t that should be Paid after payment??
    Or do I need to change every link to “Paid” on my own now??

    Please share your views.
     
    Fastian, Jul 20, 2007 IP
  2. centime

    centime Peon

    Messages:
    847
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    0
    #2
    are you charging round sums or fractions ?
     
    centime, Jul 20, 2007 IP
  3. Fastian

    Fastian Peon

    Messages:
    2,085
    Likes Received:
    235
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Will that make any difference ??
    With 3.1, fraction payment was working just fine. (Normally I do $9.95 for regular)

    Also, two test submission were done for $1 each so even that should work.
     
    Fastian, Jul 20, 2007 IP
  4. balkanboy

    balkanboy Banned

    Messages:
    1,950
    Likes Received:
    245
    Best Answers:
    0
    Trophy Points:
    0
  5. Fastian

    Fastian Peon

    Messages:
    2,085
    Likes Received:
    235
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Fastian, Jul 20, 2007 IP
  6. Fastian

    Fastian Peon

    Messages:
    2,085
    Likes Received:
    235
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Anyone with phpLD v3.2 and using "Permanent" link option and not Subscription (that is, not a yearly payment option) can confirm this issue ???

    I am not sure what is the cause but i think that is something to do with new "invoices" system.
     
    Fastian, Jul 20, 2007 IP
  7. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #7
    I also see "pending" payment in every link submitted :(
     
    MeetHere, Jul 20, 2007 IP
  8. Muqadas.Wattoo

    Muqadas.Wattoo Well-Known Member

    Messages:
    2,104
    Likes Received:
    85
    Best Answers:
    0
    Trophy Points:
    185
    #8
    Same here for me.
     
    Muqadas.Wattoo, Jul 21, 2007 IP
  9. Fastian

    Fastian Peon

    Messages:
    2,085
    Likes Received:
    235
    Best Answers:
    0
    Trophy Points:
    0
    #9
    So that means, I am not the only one with that problem.

    I think not many people are using "Permanent" submission options and that's why no one reported this issue.

    I looked closely at DB and that's what I am getting. (Hope I am able to explain my point)

    With version 3.1, paid status was represented by "1" in "Confirmed" column of "PLD_Payment" table. But now in v3.2, with "1" it's "Unclear" so all previous paid links got that status.

    But the thing is, even now after successful payment, the value passed is "1" and its giving "Unclear" status while it should be "2" for Paid.

    It's just how it should be if you have "Yearly" payment option. But its happening even if you are not using subscription.

    So, can someone experienced with phpLD code have a look at it ??
     
    Fastian, Jul 21, 2007 IP
    LeopardAt1 likes this.
  10. jg123

    jg123 Notable Member

    Messages:
    6,006
    Likes Received:
    387
    Best Answers:
    0
    Trophy Points:
    295
    #10
    I have pending for all and I think I followed the fix but to no avail. Instead of coming up with all these new scripts I would like to see David make a concentrated effort to fix all remaining issues with phpld v3.2
     
    jg123, Jul 21, 2007 IP
  11. Fastian

    Fastian Peon

    Messages:
    2,085
    Likes Received:
    235
    Best Answers:
    0
    Trophy Points:
    0
    #11
    I think for such problems (Bugs) they should give a Quick fix. But I don't see that coming. :(

    If you don't mind, please post here to let David and mods know that its not just my problem, it is a BUG. (2 other people I know have confirmed same issue)

    http://www.phplinkdirectory.com/forum/showthread.php?t=16438
     
    Fastian, Jul 21, 2007 IP
  12. LeopardAt1

    LeopardAt1 Well-Known Member

    Messages:
    880
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #12
    I don't think its a bug Fastian. This should be normal...I do think that in 3.2 they changed "pending" to "unclear". If I'm right (still not 100% sure), I think everyone has this issue, and not just you. Theres no way for phpLD to know that the payment is "Paid", unless you update it yourself?

    Unless, I'm not understanding correctly and your trying to point out something different?
     
    LeopardAt1, Jul 21, 2007 IP
    Fastian likes this.
  13. jg123

    jg123 Notable Member

    Messages:
    6,006
    Likes Received:
    387
    Best Answers:
    0
    Trophy Points:
    295
    #13
    Well Paypal has an IPN that is supposed to give notification of paid status I just don't think phpld is getting that infomation correctly.
     
    jg123, Jul 21, 2007 IP
  14. Fastian

    Fastian Peon

    Messages:
    2,085
    Likes Received:
    235
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Well, I will like to apologies in advance if I am just being stupid and calling this a bug. But it sure does seem a problem to me.

    They didn't change "pending" to "unclear". Unclear is new term with new value and now there are four options.
    http://img509.imageshack.us/img509/5396/image1uk0.jpg

    What I am saying is, when I was using v3.1, with every successful payment, the status for link was coming as "Paid". Now I see it as "Unclear" with v3.2.

    Unclear should be there only if I am using subscription or yearly link option but I am not. So that doesn't make sense.

    It isn't such a critical thing but getting a solution will always make me happy :)
     
    Fastian, Jul 21, 2007 IP
  15. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #15
    If previously versions were showing "paid" then why not this time ?
     
    MeetHere, Jul 21, 2007 IP
  16. LeopardAt1

    LeopardAt1 Well-Known Member

    Messages:
    880
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #16
    lol, no need to apologize :). I'm probably thinking of something else. I did not upgrade to 3.2 yet, so I'm not totally aware of the new 4th status (uncleared). But I didn't know that in 3.1, every successful payment, phpLD would have it as "Paid"...I always thought it came back as "Pending", but I guess I was wrong. I hope you get a response with what your looking for at the phpLD forums.
     
    LeopardAt1, Jul 21, 2007 IP
  17. LeopardAt1

    LeopardAt1 Well-Known Member

    Messages:
    880
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #17
    I honestly thought it came back as pending? What if you receive a real "pending" paypal payment (eCheck)? Does it come back as pending or paid?
     
    LeopardAt1, Jul 21, 2007 IP
  18. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #18
    No idea regarding echeck payment.
     
    MeetHere, Jul 21, 2007 IP
  19. dargre

    dargre Peon

    Messages:
    1,007
    Likes Received:
    161
    Best Answers:
    0
    Trophy Points:
    0
    #19
    I could answer your doubts about payment status.
    However....
    I can't find my today's thread concerning my latest LINK RENEW mod.
    I can see it in posts listed on my public profile,
    but I must be blind or DP removed it as I can't see it in Directories forums.
    In mentioned thread there is absolutely nothing that could cause removing.
    And it's also related to payment system.
    Here's the link, though I'm not sure if it works:
    http://forums.digitalpoint.com/showthread.php?t=407405
    Please confirm if it is working for you.
    Best would be to post something in it to see if it reappear on forums...
    I'm really curious of it.
     
    dargre, Jul 21, 2007 IP
  20. SilkySmooth

    SilkySmooth Well-Known Member

    Messages:
    1,583
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    180
    #20
    This is a bug, and is nothing to do with the change between payment status. In the database there are three columns which handle payment figures, they are: AMOUNT, TOTAL, PAYED_TOTAL

    The problem is that the last column does not save the payment amount correctly, for example, Directory Share charges 6.95 for a regular submission.

    In the database it appears like this: 6.95, 6.95, 6.00

    When really is should be: 6.95, 6.95, 6.95

    The problem is very simple to rectify, open the file /include/functions.php in a text editor and browse to line 1793 where you will find the following line:

    $pdata['PAYED_TOTAL']    = (int) $data['total'];
    Code (markup):
    Change that line to:

    $pdata['PAYED_TOTAL']    = $data['total'];
    Code (markup):
    Your payments will now work fine.
     
    SilkySmooth, Jul 21, 2007 IP
    jg123 likes this.