2008/10/7 Günter Walser <[EMAIL PROTECTED]>:

> Yes, just store the value in the context before rendering the confirm.html
> template.

I have managed to patch the credit_confirm_info for my needs, I thinks
it's a generic useful mod:
~~~~~~~~~~~~~~~~~~~~~~~~~~
    controller = ConfirmController(request, payment_module)
    if template:
        controller.templates['CONFIRM'] = template

    # Get group of configuration settings for payment_module
    config_group = config_get_group(payment_module)

    if config_group:
        controller.extraContext['config'] = config_group

    controller.confirm()
    return controller.response
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

So in your template you can print details of the payment configuration, like:

{{config.CCNUMBER}}
or
{{config.CARDOWNER}}


I've posted it here:

http://www.satchmoproject.com/trac/ticket/625
-- 
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net

SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928

Rispetta l'ambiente: se non ti è necessario, non stampare questa mail

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Satchmo users" 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/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to