The Session End notification is sent when a payment session has ended.

Data Fields

In addition to the Common Fields, you will receive the following information:

FieldData type : FormatDescription
ORDER_ID
required
guidPaynova's unique identifier for the order to which this payment belongs.
ORDER_NUMBER
required
stringYour order/PO number for this order.
SESSION_ID
required
guidPaynova's unique payment session ID if this payment was made within a payment session.
SESSION_STATUS
required
stringPossible values:

> EXPIRED
The session has expired (timed out).
>
> COMPLETED
> The session has been completed.
>
> CANCELLED
The session has been cancelled.
SESSION_STATUS_REASON
required
stringPossible values:

> NONE
No additional information available.
>
> CUSTOMER_CANCELLED_SESSION
> The customer actively cancelled the payment.
>
> PAYMENT_COMPLETED
> The payment has been completed.
>
> FAILED_PAYMENT_THRESHOLD
> The customer exceeded their number of failed attempts.
>
> CUSTOMER_CLOSED_BROWSER
The customer closed their browser.
CUSTOM_DATA_COUNT
required
intIndicates the 1-indexed number of CUSTOM_DATA fields included in this notification.
CUSTOM_DATA_#_KEY
conditional
stringThe key of the key-value pair.
Applicable only if CUSTOM_DATA_COUNT > 0.
CUSTOM_DATA_#_VALUE
conditional
stringThe value of the key-value pair.
Applicable only if CUSTOM_DATA_COUNT > 0.

Example - Session End

Total-Route-Time: 0
Content-Length: 392
Connect-Time: 0
Connection: close
Content-Type: application/x-www-form-urlencoded
Pn-Digest: 828C134D4C58A35FFD71C4893D641FFB542CEE6E
Via: 1.1 vegur
X-Request-Id: 4011c170-96ee-4db0-b683-a47b2d74cf87
Host: requestbin.com
CUSTOM_DATA_COUNT: 0
SESSION_ID: 04156f48-e6d4-45b1-8f62-a37f00cb17c2
EVENT_TYPE: SESSION_END
ORDER_ID: 3ec05393-4598-484e-8666-a37f00cb0499
ORDER_NUMBER: API-99C91D50-20140806141826
SESSION_STATUS: COMPLETED
EVENT_TIMESTAMP: 2016-11-06 12:22:19Z
DELIVERY_TIMESTAMP: 2016-11-06 12:22:19Z
MERCHANT_ID: 4999
DIGEST: 5E716D9AC9554C7B901FE20C0F03798308E3A62F
SESSION_STATUS_REASON: PAYMENT_COMPLETED
CUSTOM_DATA_COUNT=0&DELIVERY_TIMESTAMP=2016-11-06+12%3a22%3a19Z&DIGEST=5E716D9AC9554C7B901FE20C0F03798308E3A62F&EVENT_TIMESTAMP=2016-11-06+12%3a22%3a19Z&EVENT_TYPE=SESSION_END&MERCHANT_ID=4999&ORDER_ID=3ec05393-4598-484e-8666-a37f00cb0499&ORDER_NUMBER=API-99C91D50-20140806141826&SESSION_ID=04156f48-e6d4-45b1-8f62-a37f00cb17c2&SESSION_STATUS=COMPLETED&SESSION_STATUS_REASON=PAYMENT_COMPLETED