3.3 Redirected Account Results
Note: See PaywayWS Credit Card Integration Guide.pdf in the section titled “Interactive Requests” for details on the hostedPaymentResults request that returns details for a hosted payment.
In response to the request to send the queued transaction (sendQueuedTransactionPaywayWS request), PaywayWS returns the result code and any error message. This may be all you need to complete the transaction. The java script manages the sendQueuedTransaction request and posts the result code and paywayMessage back to your server. Optionally you can query the transaction details by sending a hostedTransactionResults request to PaywayWS.