Clickbank on Thank You Page

Discussion in 'Templates customization' started by evevera, Dec 14, 2010.

  1. evevera

    evevera Member

    Joined:
    Jul 28, 2010
    Messages:
    41
    Is there a way to detect whether people came through Clickbank checkout instead of paypal on the Thank you page?

    Since clickbank requires you to have a little note about how the credit card is charged by clickbank, I want to show this only for Clickbank processors not paypal.

    How can I do this in the smarty template?
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Use this code:
    Code:
    {if $payment.paysys_id =='clickbank'}
    This will be included for clickbank payment only.
    {/if}
    
  3. nigp

    nigp aMember Pro Customer

    Joined:
    Oct 12, 2010
    Messages:
    32
    Which file to alter....

    Can you please tell me which file you would put this code into?

    Many thanks!
  4. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    /amember/templates/thanks.html

Share This Page