Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > ECommerce : email template : how to display payment result info View modes: 
User avatar
Member
Member
Fabien Calais - 11/25/2010 9:44:10 AM
   
ECommerce : email template : how to display payment result info
Hi,

I would like to display some of the payment result info inside the E-commerce - Order status notification to customer template email.

But I not find in the data macro how i can access to these informations like

Order summary :
Transaction n° 1234567
amount : 150.20€
Used credit card : ######1021456987

Any help?


User avatar
Kentico Consulting
Kentico Consulting
kentico_mirekr - 11/26/2010 1:10:54 AM
   
RE:ECommerce : email template : how to display payment result info
Hi,

Order payment result is stored in database in table COM_Order in column OrderPaymentResult.

You can use custom macro for this purpose in your e-mail template:

http://devnet.kentico.com/docs/devguide/appendix_a___macro_expressions.htm

In code of your custom macro you can access the data which you are looking for (OrderPaymentResult) format it according your needs and return.

Or, you can use following context macro, but this macro will not be resolved according your needs in the format you are looking for.

{%order.orderpaymentresult%}

Best regards,
Miroslav Remias.