![]() |
|
|
#1 (permalink) |
|
Registered User
|
Worldpay .aspx
Has anyone managed to setup World pay payment processing with asp.net (vb.net).
I have search many sites & have found no answer. As far as I can see .aspx pages cannot post information to other pages only too itself. When using Worldpay Select Junior world pay requires you to post hidden fields to their secure server (should be very simple) but flipping microsoft have messed up as far as I can see not allowing this. I can obviously post a html page no problem but as the information is not dynamic (ie I can't have a basket on this page) then it's not much use. Any Ideas? Thanks Steve (stressed) |
|
|
|
|
|
#2 (permalink) |
|
Administrator
Join Date: Oct 2003
Posts: 1,484
|
Sorry why can't you post them a dynamic page? Write all the required hidden fields to the page before you post it to World pay. Or is it not that simple and I'm missing something?!?
__________________
Jason Robbins jason@catalyst2.com |
|
|
|
|
|
#3 (permalink) |
|
Registered User
|
If only!
I wish I could, as soon as you set the hidden fields to 'run at server' which you need to do to set their dynamic values the the post will not post the value to the destination it will only post to itself.
I'm not sure if the older .asp pages can do it, I was wondering if anyone has found a solution. Steve |
|
|
|
|
|
#5 (permalink) |
|
Registered User
|
I don't quite follow.
If you have a look at the link it will explain a little, it seems to be a common problem where .aspx pages cannot do cross page posting. http://weblogs.asp.net/pwilson/archi.../29/34597.aspx thanks Steve |
|
|
|
|
|
#6 (permalink) |
|
Administrator
Join Date: Oct 2003
Posts: 1,484
|
Thats only applies for asp.net web forms. If you implement it as a HTML form there will not be a problem! Why use a sledge hammer for what a spoon can do?
Thats made me hungary
__________________
Jason Robbins jason@catalyst2.com |
|
|
|
|
|
#10 (permalink) |
|
Administrator
Join Date: Oct 2003
Posts: 1,484
|
But it does you mean you lose out on some of asp.net's nice posh controls, admitably they are all reproduceable but it makes it easier. Bring on asp.net2, XHTML 1.1 valid controls! anywhos
__________________
Jason Robbins jason@catalyst2.com |
|
|
|
|
|
#11 (permalink) |
|
Software / Web Developer
|
Nice posh controls? like what?
Anyway I find it easier to do repetition of areas easier by writing the pure HTML, see my forums, powered by XML and StringBuilder!! I may move to webcontrols when asp.net 2 comes out. One question, are the forms it generates XHTML valid? Whenever I try to use a server side form in ASP.NET it adds a hidden viewstate value which for some reason is invalid XHTML. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|