Are you refer to something like verisign payflow pro API? For me I
will just have a form and open an HTTP connection at onSubmit() method
just like the example they've given.
On 1/28/07, De Soca [EMAIL PROTECTED] wrote:
Hello,
I have a requirement to validate credit card via an external
I realized that was probably the easiest option.
Thanks.
Carfield Yim-2 wrote:
Are you refer to something like verisign payflow pro API? For me I
will just have a form and open an HTTP connection at onSubmit() method
just like the example they've given.
On 1/28/07, De Soca [EMAIL
Hello,
I have a requirement to validate credit card via an external service
(external to our wicket application) then display the approriate response to
the client.
How best to approach this task the wicket way.
1. Should I do a redirect? If so how do I get the response
2. I saw mention here
you need to redirect to another website, and then that website redirects
back to you? when you redirect to it you pass it the url you want to
comeback to?
-igor
On 1/27/07, De Soca [EMAIL PROTECTED] wrote:
Hello,
I have a requirement to validate credit card via an external service
No I don't, the call all happens in one request response cycle.
Ideally I would like to perform the call and receive the response within my
wicket submit method.
Thanks.
igor.vaynberg wrote:
you need to redirect to another website, and then that website redirects
back to you? when you
heh so what exactly is the problem? make the call in your onsubmit... ??
-igor
On 1/27/07, De Soca [EMAIL PROTECTED] wrote:
No I don't, the call all happens in one request response cycle.
Ideally I would like to perform the call and receive the response within
my
wicket submit method.
How would I get the response object in wicket?
Do I do a redirect?
Please elaborate.
Thanks.
igor.vaynberg wrote:
heh so what exactly is the problem? make the call in your onsubmit... ??
-igor
On 1/27/07, De Soca [EMAIL PROTECTED] wrote:
No I don't, the call all happens in one
heh
form/button.onsubmit() {
boolean validated=validatethecard();
if (validated==true ) {
processthedata();
setresposnepage(new successpage());
} else {
error(invalid cc num);
}
}
-igor
On 1/27/07, De Soca [EMAIL PROTECTED] wrote:
How would I get the response object in wicket?
Hi Igor,
this is the direction I would like to take:
snip -
Form form = new Form(this, inputForm);
new ButtonString(form, saveButton) {
@Override
public void onSubmit() {
logger.debug( need to
In your validatethecard() do have to work with the raw servlet api or are
there wicket objects i can i use.
I guess that is the crux of my question.
igor.vaynberg wrote:
heh
form/button.onsubmit() {
boolean validated=validatethecard();
if (validated==true ) {
processthedata();
i really dont understand what you are trying to do
but if you want the raw http request you do
((webrequest)getrequest()).gethttpservletrequest()
-igor
On 1/27/07, De Soca [EMAIL PROTECTED] wrote:
In your validatethecard() do have to work with the raw servlet api or
are
there wicket
11 matches
Mail list logo