NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on January 12, 2012, 05:26:46 AM
-
Hi Guys,
I have a NetWebForm(wizard) with a FINISH(proceed to payment) button at the end.
According to the credit-card company I have to pass some values to their system, and call an HTML form from the FINISH button on my NetTalk wizard form.
Below is an example of some of the form fields they require.
How do I pass these values to their system via an HTML form from the FINISH button of my NetWebForm(Wizard) procedure?
<form method="POST" action="https://their_url/ccform.asp">
<input type="hidden" name="p1" value="a">
<input type="hidden" name="p2" value="b">
<input type="hidden" name="Budget" value="n">
<input type="hidden" name="NextOccurDate" value="o">
<input type="hidden" name="m_7" value="z">
<input type="hidden" name="m_10" value="z">
<input type="submit" value="Proceed to Payment">
</form>
-
URL on Save: 'https://their_url/ccform.asp'
plus lots of hidden fields on your form. (there is a form-field-type called Hidden)
cheers
Bruce
-
Thanks Bruce,
I entered the URL on save.
Where do I create and call the form with the hidden fields?
-
Ok, I think you want to back up a bit Rupert.
What I thought you wanted to do was send the Wizard form to the provider. That's what the Save URL will do.
However I think what you want to do is communicate from your server to the CC API, transparently.
In which case I think you should make a new _window_ procedure, and put a web client procedure in it. Use AddValue to add values to the object, then do a POST.
So, if you haven't done a Webclient before watch the webinar on that, then build a little test app with a web client window, then plug that window into your web server app. You can call it from the AfterInsert embed.
cheers
Bruce
-
Hi Rupert,
Johan here...did you get your posting to work?
Please help.
Warm regards,
Johan
-
Hi Johan,
Sorry, I only opened this topic again today.
Only saw your post now ... didn't see any notification.
No, it's not yet working, but I think I am on the right track :-)
Will start a new topic with the latest info and questions.
Regards
Rupert