Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.
For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email firstname.lastname@example.org.
It’s needed to limit the number of payment options depending on the chosen shipping method.
For example when a client chooses pickup at store he should be able to select cash on pickup or moneyorder and when he chooses flat rate shipping he should be able to select cash on delivery or moneyorder. It is a mistake when after choosing pickup at store a client can select cash on delivery.