I need to set a different payment gateway based on several conditions (like IP, referral website, etc).
I tried simply commenting out the code inside paypal1.php to see if I could place the if statements inside that page, but the button still shows and the gateway just crashes.
Could you help me figure out where in the emerald code I can insert these conditions so that each gateway only displays based on it's parameters?
I need to set a different payment gateway based on several conditions (like IP, referral website, etc). I tried simply commenting out the code inside paypal1.php to see if I could place the if statements inside that page, but the button still shows and the gateway just crashes.
Could you help me figure out where in the emerald code I can insert these conditions so that each gateway only displays based on it's parameters?