• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

payment gateway integration

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi guys i am integrating my e comm site with citibank payment gateway .As a process user is rediredted to citibanks site and after completing the transaction the flow is agian redirected to out site.however servlet that redirects to citibanks site and the servlet that is called by citibank are same but when the flow is rediredted for citibank to our site a new session is started which i don't want because all my data is lost.
howvere using javascript history.go("URL"); i came back to my session and access data stored in session .
is there a way the to keep my session same ..
is it possible to send post data using server side redirect i.e without going to client browser.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

is there a way the to keep my session same


How are you telling Citibank where to redirect the user after the transaction?
 
randeep singh singh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
when redirecting to citibank payment gateway interface server a hedden field is send as post data that contains besides ordervalue , orderno a url to send back the response
String malltociti02="0100|https://210.214.87.19/Eorder/ChkCitiToAmway|1|"+ChkSum+"|"+gmtdate+"|"+merchantcode+"|"+orderno+"|000001|"+ordervalue+"|";
my servlet ChkCitiToAmway is registered with citibank and when tx is complete control is transfered to this url but my worry is it starts a new session on my app server .. i cannot access my session data
regards
randeep
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you using cookies or URL rewriting on your site to track sessions?
 
randeep singh singh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
we r using cookies for session traking.
default as per servlet API specification
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Interesting. Then I can't see why the browser would drop the cookie--unless the browser settings have something to do with this behaviour...
 
reply
    Bookmark Topic Watch Topic
  • New Topic