Strange behaviour on http://www.mysite.com/amember/plugins/payment/cc_core/cc.php

Discussion in 'Integration' started by cooliohiten, Mar 15, 2010.

  1. cooliohiten

    cooliohiten Member

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

    I've been testing my Amember-Moodle integration by signing up using dummy users.

    After entering username, password, contact details and payment details the user gets directed to the following page:

    http://www.mysite.com/amember/plugins/payment/cc_core/cc.php

    Once on the above page, the user can see details of the payment made and a Thank you for signing up sign.

    There is also a login link on this page. If you hover over the link it displays the following link:

    http://www.mysite.com/amember/login.php

    However, after clicking the Login link, I'm directed straight into Moodle (http://www.mysite.com/courses), instead of http://www.mysite.com/amember/login.php

    Does anyone know why this happens?

    Is there anyway to get the user to sign in through http://www.mysite.com/amember/login.php?

    Also does anyone know how to edit the http://www.mysite.com/amember/plugins/payment/cc_core/cc.php theme?

    I might replace the word 'Login' with 'Click Here to Go To Course'

    I would be very grateful for any help.

    Best wishes,

    ch
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    You are redirected to moodle because you are logged in already.
    Try to disable amember CP -> Setup -> Advanced -> Automatically login customer after signup

    Template for CC info page can be found at /amember/templates/cc/cc_info.html
  3. cooliohiten

    cooliohiten Member

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

    This worked perfect. Thank you.

    ch

Share This Page