I am trying a configuration where I have drupal commerce setup in different subdomains representing different stores using domain access and domain access entity.

My issues is that when i enable paypal wps rule as payment method, the same information that I have for receiver in one subdomain is copied over to all subdomains. Is it possible to have a unique payment method details by each subdomain? So products purchased from one subdomain are processeed by its own unique payment method details? Can rules be used to identify which domain the order is from and process it for payment details for that domain?

1 Answer 1


Looks like the Domain Rules module provides a condition so that you could limit a configuration by a domain.

  • Domain Rules does provide a module to check what domain the cart belongs to and then using Conditional Rules module I was able to create conditions to apply a different payment action based on the domain the cart belonged to. your suggestion did the trick. I am not sure how roboust this solution is as I have not tested it thoroughly but I wanted to accept your answer on this quickly, as it did help me and answered the question. Nov 19, 2015 at 14:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.