Offline Payment!

Discussion in 'Troubleshooting' started by ForeverUAE, Jun 28, 2003.

  1. ForeverUAE

    ForeverUAE Guest

    i have an offline payment along with paypal.

    also i have a silver membership assigned.

    now i tried to sign up for a silver membership using offline payment.

    i can log to my account and it shows that i have no subscription yet, thtas good.
    now, in the your payment hestory table i added a new field (Status),
    this field works like the admin one, if your subscription is active then it shows active and if it is expired then it shows expired.

    but if it is Not-Paid nothing shows in the table, i mean nothing , the Product,
    Period, Payment System, Amount, Status
    is empty.
    now how can i get this to show the info along with the status Not-paid, like in the admin page?
  2. alex-adm

    alex-adm Guest

    find lines in file amember/member.php :

    Code:
    $payments = & $db->get_user_payments(intval($_amember_id), 1);
    usort($payments, 'rcmp_begin_date');
    
    replace it to:

    Code:
    $payments = & $db->get_user_payments(intval($_amember_id), 0);
    usort($payments, 'rcmp_begin_date');
    
  3. ForeverUAE

    ForeverUAE Guest

    thank you , that did it ;)
  4. olliejames

    olliejames aMember Pro Customer

    Joined:
    Mar 19, 2007
    Messages:
    26
    I would like this to show up on the members page as well.

    How did you get the status field in there?

    Could you post the changed member pages?

    tnx

    Robert
  5. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Robert, sorry, what do you want to show up?

Share This Page