Gets the per-processor unique transaction ID.
This is guaranteed to be available when the payment is accepted. When the transaction ID is required, only use inside a <payment:accepted> tag or when ${payment:isAccepted()}.
Depending on the processor, this may also be available within <payment:error> and <payment:rejected> tags (or when ${payment:isError()} or ${payment:isRejected()}).
Must be nested in a <payment:payment> tag.
Example
${payment:getTransactionId()}Function Information
| Function Class: | com.newmediaworks.taglib.payment.Functions |
|---|---|
| Function Signature: | java.lang.String getTransactionId() |
| Display Name: | None |