Redirect to /amember/thanks.php

Discussion in 'Customization & add-ons' started by kjwjr, Apr 21, 2010.

  1. kjwjr

    kjwjr New Member

    Joined:
    Aug 29, 2006
    Messages:
    3
    After upgrading aMember, I've noticed, that thanks.html template is now displayed by the sales script (/plugins/payment/cc_core/cc.php) itself.

    Before (not sure what exact version it was - probably 2.XX), users were redirected to /thanks.php, which displayed the very same template (thanks.html)

    This aplies to Authorize.NET plugin.

    It there a way to send users to thanks.php with order details (as in older aMember)? We have some custom code, which is responsible for integration with our affiliate script, which does not work now.
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Hi,
    This is not recommened. Why you don't want to insert that code to thanks.html template? This way it will work for all payment systems.
    You can place your php code inside {php}{/php} tags
  3. kjwjr

    kjwjr New Member

    Joined:
    Aug 29, 2006
    Messages:
    3
    Thank You!

Share This Page