How to direct customer to Amember Thanks page after paying through PayPal

Discussion in 'Payment Systems' started by cooliohiten, Jun 13, 2010.

  1. cooliohiten

    cooliohiten Member

    Joined:
    May 1, 2009
    Messages:
    124
    Dear All,

    I'm continuing to test my paypal integration with Amember using the paypal Sandbox testing environment.

    I've noticed one thing.

    When I pay through paypal, I get directed to a paypal 'Thank you' page. The page contains details of the payment made, and the user can also see a link which takes the user back to the main site. Clicking on this link takes users back to the following Amember page:

    www.mysite/amember/thanks.php?

    The above link also has an ID added to it at the end.

    However, I would like the user to be directed to the above page (www.mysite/amember/thanks.php?), straight after paying through paypal, rather than being directed to the paypal 'Thank you' page.

    Can someone explain to me how you can do this?

    Best wishes,

    ch
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
  3. cooliohiten

    cooliohiten Member

    Joined:
    May 1, 2009
    Messages:
    124
    Hi David,

    Thanks for your reply.

    Could you please explain to me how I can send the user to the specific Amember 'Thanks' page for their particular purchase?

    This URL for this looks something like this:

    www.mysite.com/amember/thanks.php?id=8

    The id at the end of the URL is usually different for each purchase.

    I would be grateful for help on this.

    Best wishes,

    ch
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    For that- I'd suggest using Kens plugins like "amthankyou".

    David
  5. cooliohiten

    cooliohiten Member

    Joined:
    May 1, 2009
    Messages:
    124
  6. toytender

    toytender New Member

    Joined:
    Apr 27, 2010
    Messages:
    1
    support,

    I am adding a htaccess to transfer http to https in my amember site .I am using the following htaccess


    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.thetoytender.com/$1 [R,L]

    It is working fine in my other domain.This htaccess results the "The page isn't redirecting properly"
    the page caught into the loop.Please help.

    Thanks
    Thetoytender.com
  7. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    @toytender: No need to do an .htaccess redirect.

    1) Logged into your admin console
    2) Go to Setup/Configuration
    3) Set your "Secure Root URL" to include https

Share This Page