Ok, thanks for checking on that for me. I have been investigating this a bit further and it seems that you are on the right track but the setting of the session variable has just not been implemented correctly.
The transaction id is returned by PayPal and our code is parsing for it. The way that you reference it however must be changed. Since it only comes after the Express Checkout Do Result it will need to be referenced like this:
WA_PP_ECO_GetValue(WA_PP_ECO_DoResult, "TransactionID", false)
The other issue is where you are trying to capture it, since it only is available after the Do Result the code at the top of the page will not have access to it. You must add this in somewhere after this:
set WA_PP_ECO_DoResult = WA_PP_ECO_Do_Post(WA_PP_ECO_Do_required,WA_PP_ECO_Do_itemized,WA_PP_ECO_Do_optional)
If you use this reference and make sure it is set after the Do Result code then it should capture the transaction id and allow you to store it in a session variable. You can then use that session variable in your Store Order Summary. You should also be able to reference the value directly in the server behaviors with the correct reference.
Please give this a try and let us know if there are any problems.