Vulnerability in EPiServer.Forms
In our site we've the scenario's like below.
1 site, 3 languages and 4 markets.
Users from: Dutch and BelgiumLanguage: NLMarket: NLCurrency: Euro
Users from: Germany, Austria and SwitzerlandLanguage: DEMarket: DECurrency: Euro
Users from: Great BrittainLanguage: ENMarket: ENCurrency: Pound
Users from: Rest of EuropeLanguage: ENMarket: DECurrency: Euro
Users from: Rest of the WorldLanguage: ENMarket: WORLDCurrency: 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.