3.4 Step Four: Query Transaction Details
In response to the request to send the queued transaction (sendQueuedTransaction PaywayWS request), PaywayWS returns the result code and any error message. This may be all you need to complete the transaction. Optionally you can query the transaction details by sending a request to PaywayWS, getPaymentDetails. An example of this is in the sample application, the TransactionDetails.jsp page. This will return all fields for the payment and account records, with PAN data masked.
At this point you can store and/or present any of this information to the user for receipt purposes or other processing. This interaction is between your server and PaywayWS so none of this information is available to the browser during the transaction.