Really Need Help With PayPal Payments

Discussion in 'Payments processing' started by steveweber, Aug 24, 2008.

  1. steveweber

    steveweber New Member

    Joined:
    Jun 19, 2008
    Messages:
    9
    I really need some help. I just got everything set up...tested it and it worked.

    Now, I am getting subscribers paying and it won't let them log in.

    One guy paid with an echeck. I figured that out.

    But the others paid with paypal normally. Their member info says active.Their payment subscriptions are fine in paypal. Everything looks normal, but it won't let them logon. I tried too...it won't let them. I have another membership at a regular price (they bought at a special, lower price for the same membership). I manually have just added that to their subscriptions and then it will let them in just fine.

    I have looked and looked at everything. But I really have no idea what to do about it.

    Can someone give me some idea where to look to see what is wrong.

    Thank you,

    Steve Weber
  2. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Hi Steve.

    Just to clarify, are you:

    a) not able to login (ie. invalid user id / password)
    b) able to login, but not able to access content

    Is the users account showing "active" in Amember?

    Anything in the logs?
  3. steveweber

    steveweber New Member

    Joined:
    Jun 19, 2008
    Messages:
    9
    Hello,

    When they try to login, it says they are unable to. A long red box shows up above their logon saying they are not authorized or something for that membership.

    Yes, it says Active by their name in the admin panel.

    I looked in "logs", but there was nothing from last night when they 3 signed up.

    I just got everything up and running. I imagine there is just something simple I am missing.

    Thank you,

    Steve
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Is your IPN set up in Paypal? If not, and the users arent going to your thanks page, the payment may not be getting registered. But if amember is showing the payment is paid, then they should be getting access...


    David
  5. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    Does the user just have one subscription?

    I would check a few things:

    The "Product URL" for that product (ie. the directory they are being redirected to after login) and verify the directory in question has the correct .htaccess file in it (example: "Require group PRODUCT_1" where the product the member has is product 1). You can also try renaming the .htaccess file just to be sure if that is the issue.
  6. steveweber

    steveweber New Member

    Joined:
    Jun 19, 2008
    Messages:
    9
    That's it!

    .htaccess only has the details for product 1

    This product is product 2 I am having trouble with. There is no mention of product 2.

    Do you know why it would not have written to it when I setup product 2? When I setup product 2, everything seemed to go ok just like with #1.



    Product 1 and 2 are identical but for the price. They both have the same product url.

    To fix it, can I just edit .htaccess and put a duplicate entry of this code just below (and replace product #1 with product #2)?

    Here is the code that is there now for product 1:

    ## allow access for product #1
    RewriteCond %{HTTP_COOKIE} amember_nr=([a-zA-Z0-9]+)
    RewriteCond /home/steve123/public_html/amember/data/new_rewrite/%1-1 -f
    RewriteRule ^(.*)$ - [L]

    Thank you very much;I really appreciate your help.

    Steve
  7. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    When you used the "Protect Folders" option in Admin you specify the product you want to require. This is what determines the "PRODUCT_#".

    You can:

    1) manually modify the .htaccess file:

    Code:
    ## allow access for product #[b]2[/b]
    RewriteCond %{HTTP_COOKIE} amember_nr=([a-zA-Z0-9]+)
    RewriteCond /home/steve123/public_html/amember/data/new_rewrite/%1-[b]2[/b] -f
    RewriteRule ^(.*)$ - [L]

    2) or delete it (and the protect folder entry) and recreate it from the protect folder option (selecting product 2)
  8. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    ## allow access for product #1
    RewriteCond %{HTTP_COOKIE} amember_nr=([a-zA-Z0-9]+)
    RewriteCond /home/steve123/public_html/amember/data/new_rewrite/%1-1 -f
    RewriteRule ^(.*)$ - [L]

    ## allow access for product #2
    RewriteCond %{HTTP_COOKIE} amember_nr=([a-zA-Z0-9]+)
    RewriteCond /home/steve123/public_html/amember/data/new_rewrite/%1-2 -f
    RewriteRule ^(.*)$ - [L]


    Add the second product manually then. (skippy beat me to it :) )

    David
  9. steveweber

    steveweber New Member

    Joined:
    Jun 19, 2008
    Messages:
    9
    Ok, Thanks Guys!

    I just added it manually.

    One last question, I was a bit confused I guess on the "protect folders" area.

    If I had two products each with access to the same folder, should I have selected to protect another folder and then protect the same folder for the other product? Or is there a way to protect one folder for two products in just one step?

    In other words, would it take two lines on the protected folder page to protect one folder for two products?

    Thanks again for your help,

    Steve
  10. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    All the "Protect Folder" function does is automatically generate a .htaccess for you, so if you add two entries you will most likely get an error and regardless, the last change wins.

    For multiple products having access to the same folder, you should select ALL of the products in one entry.
  11. steveweber

    steveweber New Member

    Joined:
    Jun 19, 2008
    Messages:
    9
    Ok, Thank you again for all your help.

    Steve

Share This Page