473,394 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Question on ASP and worldpay callback

HI all

I wondered if anyone can give me some advice on wow to deal with the
call-back process generated by Worldpay.

My understanding is that after a transaction Worldpay will send the
result's to a specified URL. All of the scripts I've looked at parse
the query string and display the data onto a web-page, which obviously
renders a page, as there is no one to read this and it does not go to
the client I'm not sure what use these scripts are.

I have a couple of general ASP questions if anyone has a solution

How do you make a call to an asp page that updates a database but does
not render a page? I'm probably being dumb but what does the url look
like? I.E can I make a call direclty to a web-service to update my DB.

I'm running dot.net framework 1.1, MCMS 2002 and using visual studion
202

Any thoughts are greatly appreciated

Mikey

Jan 24 '06 #1
2 2943
Hi

the callback script is simply an ASP page that does not have any html.

basically the callback from world pay is used to:

get data from the posted variables
save to a database
send an email or two.

the url looks the same as any other url - but dont make it something that
other visitors to your site can go to.
the first thing the page should do is ensure that it is being called by
worldpay - i.e. do a transaction=yes check

a page that makes a call to a database - does not show anything on the page.
e.g.

' has transaction occured?
if Request.Form("transStatus") = "Y" then ' from world pay

' save to database
dim rs, c, orderid, sql
buyerid = Request.Form("cartid")
wp_id = Request.Form("transId")
c = orderdb
set rs = server.CreateObject("ADODB.Recordset")
sql = "insert into payment_t (TransID, BuyerID, Email, AmountPaid, DT)
values ("
sql = sql & "'" & wp_id & "','" & buyerid & "','" & buyer_email & "'," &
Request.Form("amount")
sql = sql & ",#" & mydate(now()) & "#)"

rs.Open sql, c
set rs = nothing

hth
<mi*****@yahoo.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
HI all

I wondered if anyone can give me some advice on wow to deal with the
call-back process generated by Worldpay.

My understanding is that after a transaction Worldpay will send the
result's to a specified URL. All of the scripts I've looked at parse
the query string and display the data onto a web-page, which obviously
renders a page, as there is no one to read this and it does not go to
the client I'm not sure what use these scripts are.

I have a couple of general ASP questions if anyone has a solution

How do you make a call to an asp page that updates a database but does
not render a page? I'm probably being dumb but what does the url look
like? I.E can I make a call direclty to a web-service to update my DB.

I'm running dot.net framework 1.1, MCMS 2002 and using visual studion
202

Any thoughts are greatly appreciated

Mikey

Jan 27 '06 #2
Thanks Diablo

Jan 30 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: grahamhe | last post by:
Hi, I am writing a script that requires two actions performed on the same page; 1) upload pictures and store them on the server & 2) Send all of the variables from the WebForm to the WorldPay...
0
by: Rudi Ahlers | last post by:
Has anyone used Worldpay for E-Commerce usage before? And if so, what experiences have you had with them, integrating it into your / a client's website? I need to setup an E-commerce website for a...
0
by: Rudi Ahlers | last post by:
Has anyone used Worldpay for E-Commerce usage before? And if so, what experiences have you had with them, integrating it into your / a client's website? I need to setup an E-commerce website for a...
0
by: Andy Everett via .NET 247 | last post by:
Has anybody had experience of integrating with WorldPay using C#please? I have rewritten the example asp code in C#/ASP.NET. Every aspect of this has been a success except one. Whencalling the...
0
by: Anthony | last post by:
Hi all, I am just trying to set up a form post to worldppay and finding it surprisingly difficult.. What i would like is to gather all of the variables needed in c# codebehind and then send them...
2
by: Richard Brooks | last post by:
Is anyone using a payment routine withing their own php site ? I'd assume a MySql database is needed to remember days paid for and a date/time counter against cost per day but are there more...
6
by: Angelos | last post by:
Hello, For long time now I am trying to POST some variables from a form to a script and then that script POST them to another External page or payment gateway like worldpay. The reason I want...
7
by: heltena | last post by:
Hi, I have this "interface" (abstract class): class Callback { public: virtual void function1() = 0; virtual void function2(string value) = 0; };
1
by: sajit | last post by:
Hi folks, Currently I am developing a shopping cart in which i need worldpay integartion. I also want customer to be redirected to my web site after transaction. Worldpay also provide default...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.