I would try to contact the people that implemented/updated the
getpaid.ogone egg. For example, jefroche worked on it a bit.

Lucie
--
S i x  F e e t  U p ,  I n c .  |  http://www.sixfeetup.com
Phone: +1 (317) 861-5948 x605
ANNOUNCING the first Plone Immersive Training Experience | Sept. 10-11-12, 2009
http://www.sixfeetup.com/immerse



On Fri, Apr 17, 2009 at 4:58 AM, danielle davout
<[email protected]> wrote:
>
> With Ogone the language of transaction is defined by :
>
>        languages = IUserPreferredLanguages(self.context.REQUEST)
>        langs = languages.getPreferredLanguages()
>        if langs:
>            language = langs[0]
>        else:
>            plone_props = getToolByName(self.context, 'portal_properties')
>            language = plone_props.site_properties.default_language
>        language = language.split('-')
>        if len(language) == 1:
>            language.append(language[0])
>        language = language[:2]
>        return "_".join(language)
> So, if I understand well, getpaid.ogone tries to compute the
> transaction language
> from the user preferences and the site ones.
>  if the user has set some preferences in his browser, the language
> will be set to his most preferred language.
> If langs is empty, the language is set to the default language of the site.
> But in both cases, it could be that the language is not one of the
> language that Ogone speaks (French, Spanish and English).
>
> I was wondering if the choice should not be left to the user himself,
> on the make-payment form, he would be asked to choose between the
> options allowed by the processor.
>
> Is IGetPaidManagementCheckoutOptions the right place ?
>
> Isn't it a problem encountered with the other processors that should
> be care of in PloneGetPaid itself ?
>
> (by the way  the test fails on getLanguage)
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"getpaid-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/getpaid-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to