How to get Payment Transaction

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 5 años
Hello,

I am trying to send an API request to a back end system, to document a received payment.

I hooked up on the WorkflowMessageService because it seemed like the perfect moment would be when we are sending order placed emails.

I tried to use the following field for the transaction Id, but it did not have any value, any idea of what else I can use?

order.AuthorizationTransactionCode

I'm using NopCommerce 3.6.

Thanks!
Hace 5 años
order.AuthorizationTransactionCode is not a valid token.


Hace 5 años
The fields that are used to return values from Payment Method and stored in the Order are:

order.PaymentMethodSystemName
order.AuthorizationTransactionId
order.AuthorizationTransactionCode
order.AuthorizationTransactionResult
order.CaptureTransactionId
order.CaptureTransactionResult
order.SubscriptionTransactionId

Check the record and see where your transaction Id value is stored

Most likely is order.CaptureTransactionId
Hace 5 años
Thanks for the help, order.CaptureTransactionId had what I needed.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.