1. Modify eWayMerchantReturn.aspx.cs to save _TrxnNumber value to order.AuthorizationTransactionID property (transaction id is not saved by default) 2. Add a label to CheckoutComplete.ascx control 3. Set its text property to order.AuthorizationTransactionID
I think you may be refering to the eWay UK version as setting breakpoints on EwayMerchantReturn does nothing.
I'm using Payment.eWay and not Payment.eWayUK.
My limited knowledge of .net is probably making things a little harder (learning though). But if I set breakpoints on the code below I can see the returned response.
This is in eWayPaymentProcessor.cs
// Payment succeeded get values returned if (eWAYResponse.Status && (eWAYResponse.Error.StartsWith(APPROVED_RESPONSE) || eWAYResponse.Error.StartsWith(HONOUR_RESPONSE))) { processPaymentResult.AuthorizationTransactionCode = eWAYResponse.AuthorisationCode; processPaymentResult.AuthorizationTransactionResult = eWAYResponse.InvoiceReference; processPaymentResult.AuthorizationTransactionID = eWAYResponse.TransactionNumber; processPaymentResult.PaymentStatus = PaymentStatusEnum.Paid;
processPaymentResult.AuthorizationTransactionCode = eWAYResponse.AuthorisationCode; which refers to _txTransactionNumber.
Whats the simplest method to show on Checkout completed page? You said set text properies to *** before but will that not only just show that as pre filled text eg. ***.