omnipay/worldpay — pull request #2 by clockwork-coder (2014-04-26 11:08:26+00:00)
Title: Add optional parameter accId1 (merchant code)

For a client we needed to link payments with specific merchants within one umbrella account:

**accId1**
Specifies which of the merchant's accounts should receive funds for a transaction. The WorldPay server first tries accId1. If this can not be used for for any reason, it selects the first valid account it can find based on the testMode value and the currencies available. This variable is optional but may be useful if you have more than one live account.

Without specifying "accId1" it was just using the default WorldPay account. I've ensured that it doesn't get included in the submitted URL if not specified as it's normally not required.

I'm not sure how to update the tests to check this, but the current tests still pass and this is now being used successfully in a live system. Hopefully the update can help others.

Thanks