G'day everyone! :-)

I am trying to integrate authorize.net with OpenSRS 2.61 for a client and
are running into some difficulties. Maybe someone here can help me out a
bit.

The customer starts registering the new domain name and comes to the verify
web page. I am transfering them to a special order page to collect the CC
data. Before that I am storing all necessary domain registration data into
MySQL, run the cc process against authorize.net and get the credit card
charged successfully. However at this point I am loosing it and are not able
to finish the domain name registration.

I am reading the client data from MySQL again:

if($authorized) {
$db     = mysql_connect("localhost", "MySQL_username", "password"); 
mysql_select_db ("MySQL_Database"); 
$result = mysql_query("select * from customer where uniqueid =
'$uniqueid'");


>From here I am not sure what to do next. I do not want the customer to do
anything more - meaning - I want to automatically confirm the domain name
registration and show a "Thank you" note and referring to the domain manager
part of OpenSRS. So, I do not know how to get back into the OpenSRS
registration process.

First I had thought about using a form and add the data 'hidden' and just
show a submit Button for the client to finish up but my client does not like
that - he wants everything done without any further interaction of his
customers. I already had problems re-connecting my stuff at that point back
into the reg_system.cgi process. 

I am still getting into all this stuff as a newbie in PHP and MySQL and
that's where I got stuck.

Can anyone help? Maybe a final code sniplet available for me? Again - the CC
has been processed and I just need to finish up on the actual domain name
registration process!

Thanks for your help in advance!!

Aspen M.






Reply via email to