anupsahu
anupsahu

Reputation: 31

Check Transaction Termination

Need some ideas to track whether the user is terminating a payment transaction.

Some scenarios in which it may happen is-

  1. The user closes his browser during interaction with Bank or Verified by Visa Page

  2. The external bank side does not load up due to pop-up blocker or due to network issue.

etc etc

Is there anyway i could be able to keep a track of all this.

Upvotes: 0

Views: 41

Answers (1)

Victor Sorokin
Victor Sorokin

Reputation: 12006

  1. Largely depends on protocol being used. For example, Atmosphere allows server-side to get notifications when browser window is closed: https://github.com/Atmosphere/atmosphere/wiki/onDisconnect-tricks
    Fallback method, when you have no notifications from your messaging library, is to employ heartbeats: if your server had no heartbeat for last N seconds, consider transaction being cancelled and de-allocate server-side resources.
  2. Heartbeats will help you here.

Upvotes: 1

Related Questions