Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
Hi everyone;
I'm writing payment system with using master page template;
I have a form in contentplaceholder like this;
 
<form id="frmPayment" method="post" action="bank3dSecureValidatingUrl">
    <div>
    <input type="hidden" name="xxx" value="<%=xxx%>" />
    <input type="hidden" name="xxx" value="<%=xxx%>" />
    <input type="hidden" name="xxx" value="<%=xxx%>" />
    <input type="hidden" name="xxx" value="<%=xxx%>" />
    <input type="hidden" name="dcins" value="<%=dcins%>" />
    <input type="hidden" name="sipbil" value="<%=sipbil%>" />
    <input type="hidden" name="sesbil" value="<%=sesbil%>" />
    <input type="hidden" name="burl" value="<%=burl%>" />
    <input type="hidden" name="hurl" value="<%=hurl%>" />
    <input type="hidden" name="time" value="<%=time%>" />
    <input type="hidden" name="xxx" value="<%=xxx%>" />
 </form>
 
when I submit page, browser redirect me secure3d validation url not in master page and show me a textbox, to write validation code from my mobile phone, when I enter code then banks page redirect me succeed url which I give it with posted form. but I wantto see validation page in master page and content place holder not in new page.
 
Can I do this without using frame ? with JavaScript or eq
Thanks very much
Posted 12-Nov-12 23:05pm
Comments
Dylan Morley at 13-Nov-12 5:58am
   
I'm pretty sure you have to use a frame, all implementations of this I've seen use frames.
 
http://www.pcworld.idg.com.au/article/334105/3d_secure_online_payment_system_secure_researchers_say/
 
"One of their main points is how 3DS is integrated into Web sites during a transaction. E-Commerce Web sites display 3DS in an iframe, which is a window that brings content from one Web site into another.
 
The e-commerce Web site connects directly to a bank, which solicits a person's password in the iframe. If the password is right, the transaction is complete. But the researchers argue that since there's no URL displayed with the iframe, it's difficult to tell whether it's genuine or not."
alikaras at 13-Nov-12 6:13am
   
Thanks for descriptive information, this is very helpful for me.
But some web sites open window like a popup but not a popup, when enter pass then window closed and payment succeed or failed ?
But I understand that this implementation type of payment must be in frame ?
Dylan Morley at 13-Nov-12 6:50am
   
Yeah - probably a modal window with an iFrame.
 
Because you are loading external content (the 3dsecure page from the bank) into your own site, a frame is really the only way it can be achieved.
 
e.g - jQuery dialog example - http://jqueryui.com/dialog/
The frame with the 3ds would be inside that dialog.
alikaras at 13-Nov-12 9:23am
   
I understand this, thanks very much for your ınterest.
good work
 
(if you write a solution which you write I can accept this to close this question)
Dylan Morley at 13-Nov-12 11:00am
   
moved comments into solution

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I'm pretty sure you have to use a frame, all implementations of this I've seen use frames.
 
http://www.pcworld.idg.com.au/article/334105/3d_secure_online_payment_system_secure_researchers_say/[^]
 
"One of their main points is how 3DS is integrated into Web sites during a transaction. E-Commerce Web sites display 3DS in an iframe, which is a window that brings content from one Web site into another. The e-commerce Web site connects directly to a bank, which solicits a person's password in the iframe.
 
If the password is right, the transaction is complete. But the researchers argue that since there's no URL displayed with the iframe, it's difficult to tell whether it's genuine or not."
 
Some sites will achieve this by creating a modal dialog and load the frame into the dialog. But you have to use a frame because you are loading external content (the 3dsecure page from the bank) into your own site, and a frame is really the only way it can be achieved.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 310
1 Sergey Alexandrovich Kryukov 192
2 PhilLenoir 164
3 Richard MacCutchan 160
4 Sharmanuj 146
0 Sergey Alexandrovich Kryukov 6,077
1 OriginalGriff 5,115
2 CPallini 2,473
3 Richard MacCutchan 1,597
4 Abhinav S 1,505


Advertise | Privacy | Mobile
Web01 | 2.8.140814.1 | Last Updated 13 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100