New Zenner
- Join Date:
- Jan 2008
- Posts:
- 8
- Plugin Contributions:
- 0
Only show payment method when UPS shipping method chosen?
I'm trying to figure out how to limit the payment methods shown depending on the shipping method chosen at checkout (step 1), but I can't figure out what's wrong.
After scouring the boards, it seems like this should be correct.. but the payment methods still shows up in checkout regardless of the shipping method I chose.
ex: cc.php line 56
// Only allow orders when ship by upsxml
if ($_SESSION['shipping']['title'] = 'upsxml') {
$this->enabled = ((MODULE_PAYMENT_CC_STATUS == 'True') ? true : false);
}
I tried switching upsxml with upsxml_upsxml and Flat Rate, but no change.
Any ideas?