Receiving Responses
{
responseid = // unique id about this response in the openpath system
responseCode = // the standard mapped NMI emulation response
responseText = // text representing the response from the gateway or processor
transactionid = // the transaction ID returned from the gateway
referenceId = // api call reference id
authcode = // if the processor supports returning auth codes will be returned
orderid = // the order id you assigned to this transaction
title: // friendly action title
message: // friendly result of title
isRecurring: // was this transaction marked as recurring
recurringPeriod: //
paymentToken = // a payment token that can be used through the API to recharge the client
successful = // was this transaction successfully processed
}
Handle the Response Promise
If the transaction is successfully processed, then the Approved Response Promise will fire and return some details of the transaction. You can use these values to reference the transaction in the OpenPath back office, issue Captures and Refunds or use the Payment Token to bill subsequent transactions for Trials or Subscriptions.
responseId : Response ID - A unique id about this response in the OpenPath system.
responseCode : Response Code - The standard mapped response from the payment gateway or processor.
responseText : Response Text - Human readable response text based on the Response Code.
paymentTransactionId : Payment Transaction ID - The transaction ID returned from the payment gateway or processor.
orderId : Order ID - The original Order ID supplied to OpenPath by the Merchant for this order.
paymentToken : Payment Token - A secured payment token that securely represents the payment method used that can be used to charge the customer again at a later time.
successful : Successful - Indicates if this transaction was successful or not.
Optional Actions After Payment
In order to take actions after the payment such as Capturing, Refunding or Rebilling you can either login to the OpenPath back office to perform these actions on the transactions or you can call the OpenPath Transaction API to perform these actions server side.
Updated 4 months ago