Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone;
I'm writing payment system with using master page template;
I have a form in contentplaceholder like this;

XML
<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
Comments
Dylan Morley 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 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 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 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 13-Nov-12 11:00am    
moved comments into solution

1 solution

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900