You would need to customize your payment modules based on the setting of the shipping ...
You can use:
$_SESSION['shipping']['id']
For example, to customize the Credit Card cc payment module:
/includes/modules/payment/cc.php
you can add below this line:
Code:
$this->enabled = ((MODULE_PAYMENT_CC_STATUS == 'True') ? true : false);
To read:
Code:
$this->enabled = ((MODULE_PAYMENT_CC_STATUS == 'True') ? true : false);
if ($_SESSION['shipping']['id'] == 'storepickup_storepickup') {
$this->enabled = false;
}