Epi commerce 10.10 setting shipping en payment methods for multiple markets and languages

Vote:
 

Hi,

In our site we've the scenario's like below.

1 site, 3 languages and 4 markets.

Users from: Dutch and Belgium
Language: NL
Market: NL
Currency: Euro

Users from: Germany, Austria and Switzerland
Language: DE
Market: DE
Currency: Euro

Users from: Great Brittain
Language: EN
Market: EN
Currency: Pound

Users from: Rest of Europe
Language: EN
Market: DE
Currency: Euro

Users from: Rest of the World
Language: EN
Market: WORLD
Currency: US Dollar

The langugae for the DE market users will be get by ip-address or customer country (when logged in).

The site sells online software and uses Buckaroo outside Episerver as payment provider, so no shipping and payment methods should really be set, but Episerver needs one, so we created them for each language.

The WORLD market has been added at last and the question right now is how to setup these methods correctly?

For getting the shipment method we use the code below, which works fine:
var shippingMethod = ShippingManager.GetShippingMethodsByMarket(currentMarket.MarketId.Value, false).ShippingMethod.First();

For the payment method we use code below, which can't find a payment method for the WORLD market.
var paymentMethod = PaymentManager.GetPaymentMethodsByMarket(currentMarket.MarketId.Value).PaymentMethod.First();

We tried to add the WORLD market to the DE and EN default payment, tried to create a new payment inside the EN folder but without success.

Hopefully someone has the right solution for us, so we can finish the site.

Thanks in advance.


Grtz Sander

#199065
Nov 14, 2018 14:50
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.