Php Code For Netnaira Setup Guide

Welcome. Please Login, Register, Or Activate! 
type your username and password to login
Date: November 22, 2009, 08:28 AM
430699 members and 297834 Topics
Latest Member: SirlNisalse
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming  |  Php Code For Netnaira Setup Guide
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: Php Code For Netnaira Setup Guide  (Read 717 views)
cynthia_01
Php Code For Netnaira Setup Guide
« on: October 05, 2007, 12:55 PM »

Please does anyone understand the sample code given on the netnaira website for integration of their payment system? It is given in ASP, and I need a PHP sample. I have been toying around with it to no avail. I am a novice in Php.

Here is a link to the ASP sample given: http://www.netnaira.com/setup_guide.asp

Thanks!
a3cube
Re: Php Code For Netnaira Setup Guide
« #1 on: October 05, 2007, 01:37 PM »

Contact them now and ask for the PHP version of the code. To me, it's possible to write a PHP version urself if you understand the ASP code, after all U are getting a post reply from Netnaira in md5 format.
cynthia_01
Re: Php Code For Netnaira Setup Guide
« #2 on: October 05, 2007, 05:16 PM »

Exactly! I am looking for someone who has an understanding of both ASP and PHP who is willing to explain to me. Then I can write the code myself.

Thanks anyway.
a3cube
Re: Php Code For Netnaira Setup Guide
« #3 on: October 05, 2007, 05:21 PM »

Look at the script closely and see that there are comments for each section. Use this comments and generate your idea. it will work. If it doesn't, paste it here and people will try to help U out. I don't think anyone will willingly think for U on this, but if there is, then U are lucky.
Good luck friend
smartsoft (m)
Re: Php Code For Netnaira Setup Guide
« #4 on: October 06, 2007, 05:11 PM »

hello they don't support php so if you try using a php code is useless,  so what discoverd there is very simple i must  tell you you don't need any experience on ASP but i think i know that though what i think i do understand better is .NET so what you need there is your HTML if you know your html well and you can change your verification code to suite your taste everything works on their server,  if you have any problem just let me know might be of help to you. 08025266821,  or better still uchedealsreal@gmail.com do you stay around lagos, ikeja to be precise,  Huh?
heltisa (f)
Re: Php Code For Netnaira Setup Guide
« #5 on: October 07, 2007, 02:40 PM »

Quote from: smartsoft on October 06, 2007, 05:11 PM
hello they don't support php so if you try using a php code is useless, so what discoverd there is very simple i must tell you you don't need any experience on ASP but i think i know that though what i think i do understand better is .NET so what you need there is your HTML if you know your html well and you can change your verification code to suite your taste everything works on their server, if you have any problem just let me know might be of help to you. 08025266821, or better still uchedealsreal@gmail.com do you stay around lagos, ikeja to be precise, Huh?

Thats not true. They support php, Asp, aspx, coldfusion, javascript. Two sites I know integrated to the Netnaira payment system are built on php. They are www.trade1on1.com and www.wealthbuilderspot.com and I have a friend who is currently working on his integration and is programming with php.

@ cynthia send what you have and I might be able to help you. I know a bit of php. email: heltisa at yahoo dot com

 Smiley
basking4me
Re: Php Code For Netnaira Setup Guide
« #6 on: May 07, 2008, 09:21 AM »

Welcome! I know alot of Nigerians would like to learn how to design a working dynamic website and test them before putting them on the Internet. You want to know the intrigues and programming requirements for development of such sites, ?.

I have a solution on paper that will teach you the step by step process to working with Php/Mysql/Apache to achieving your goals on web development. PHP/Mysql is an open source/ free programme that can be downloaded from the internet, I can also give you a free copy on CD or as an attachment to your email box, however you need to know how to use it. That is where my step by step Training Handout comes in.

It is a Pictorial document that shows you pictures of what to expect as you go on to install your web development environment, it will teach you how to use the mysql database and also the php environment on web development. it is simply special, I will also support you online as you develop yourself.

I have had to go through a lot of research to pick out this Handout/format of training especially given the fact that a lot of us want to have a CMS or work with Drupal, Phpbb, Joomla, Wikimedia, Wordpress, SMF and so on. You need to know how to install PHP/MYSQL TO DO THAT!.
I think this is what you need,


You have a website or a blog and need to intergrate a Forum, Php/mysql will work for you. its the ultimate solution to webdevelopment. It is the freest and simplest platform you use for your web2.0 solution and those social networks you hope to create.

like I said the software is a freeware so you aint paying for that,  you'll only be paying for the handout to be sent to you, this will cost you #4,500 only within Nigeria.

My contact is: Wale Ketiku, 08055824984 (ayocatty@yahoo.com).

Pay into any oceanic bank no: 0470001009736 or zenith bank no: 6024037736
phoenixy1
Re: Php Code For Netnaira Setup Guide
« #7 on: July 31, 2008, 02:59 AM »

Hey, whats phishing here?
Those two websites quoted are netnaira sister companies, meanwhile even they have not sucessfully integrated the net naira stuff??
There other alternatives if you want to apply online payments to your site, and that not e-gold either.
Im sure I can help you cyinthia, but whats your website url? lets visit and take it up from there.
dejman
Re: Php Code For Netnaira Setup Guide
« #8 on: January 20, 2009, 11:43 PM »

Quote from: phoenixy1 on July 31, 2008, 02:59 AM
Hey, whats phishing here?
Those two websites quoted are netnaira sister companies, meanwhile even they have not sucessfully integrated the net naira stuff??
There other alternatives if you want to apply online payments to your site, and that not e-gold either.
Im sure I can help you cyinthia, but whats your website url? lets visit and take it up from there.

I don't understand. R you a detective or something? What r you phishing in the posts made above. And by the way I have used wealthbuilderspot for over a year now, so I am wondering wat you mean by the site not being successfully integrated. I purchase my recharge cards online from www.pinnigeria.com that accepts NetNaira.

Be sure of yourself before making posts so you dont pass wrong information.

Cheers
Godman_n
Re: Php Code For Netnaira Setup Guide
« #9 on: January 21, 2009, 04:28 AM »

Their is little to understand in the code. It is not even a code. It is just a sketch and a well written algorithm is better than that. All they did is to show you an idea of how their system works. The variables they expect from you and the variables they can send to you.

I think the problem will be more of, do with you having a full knowledge of how your site works.

And what you will want to do.

The PHP code should be something as close as shown below.

Just come up with your full algorithm and I can write down the code for you. As for full understanding/Designing your site and the whole algorithm, you need to employ a capable hand or pay for it.


<?php

Just capturing variables from the form here using php syntax

$transId = $_POST["transaction_id"];
$payee = $_POST["payee_account"];
$amount = $_POST["amount"];
$payer = $_POST["payer_account"];
$batch_id = $_POST["batch_id"];
$gtHash =$_POST["gt_hash"];
$merchant_verification_code = "myverificationcode"; //replace with your verification code
$mdofvc = md5(""&$merchant_verification_code&"");

//'step 3 - ensure that the amount posted is actually the amount expected for that transaction.


Here will involve some thoughts on how your algorithm will work

'if it is not
if ($amount <> " amount expected to be involved in this transaction"){

    echo"Invalid tansaction cost "

}else{

'if step 3 is true ie amount is amount for that transaction, move on to step 4 or else
'step 4 - calculate gt_hash and compare with netnaira's.

    calculated_gt_hash = md5(""&transId&":"&payee&":"&amount&":"&payer&":"&batch&":"&mdofvc&"")

        if (calculated_gt_hash = gtHash){

            //'complete the order at your end update database, store tansaction as successful

            echo("success")
            //success must be written to screen for funds to be debited from the buyers account

        }else
        //'if not the same

            echo"GtHash values did not match "

        }

end if
?>
dejman
Re: Php Code For Netnaira Setup Guide
« #10 on: January 21, 2009, 11:08 AM »

You guys need not worry anymore. Cynthia you can download the API and sample codes from the Gooatale resource center.
www.resource.gooatale.com
Godman_n
Re: Php Code For Netnaira Setup Guide
« #11 on: January 23, 2009, 06:50 AM »

Quote from: dejman on January 21, 2009, 11:08 AM
You guys need not worry anymore. Cynthia you can download the API and sample codes from the Gooatale resource center.
www.resource.gooatale.com


And you link seems to be dead?
phoenixy1
Re: Php Code For Netnaira Setup Guide
« #12 on: January 25, 2009, 03:39 PM »


Cynthia dosent come here any more!

She has been tinkering and has messed up the code for her aboki.

I guess she has moved on to higher calling now or perhaps shes stydying PHP in a 'proper' school?

a3cube, please stop posting sites that are not complete or that you have no intention to complete. Naijas generally take note.
mr.uwaifo
Re: Php Code For Netnaira Setup Guide
« #13 on: October 14, 2009, 06:00 PM »

Hello , is there any way i can get like a phone number to call the netnaira support person. i need to integrate thier solution and there seems to be no response after my registration. not even a follow up email.
would appreciate if u could help.
 Pass4sure Sun Exams  Whats The Difference B/w Mysql And Sql: Do They Relate?  Do Pcb Manufacturing Companies Exist In Nigeria?  Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 


Sections: Autos/Cars (2) Jobs/Vacancies (2) (3) Career Talk Education General(2) Politics Romance Computers Phones Travel
Sports Fashion Health Religion Celebrities TV/Movies (2) Music/Radio (2) Books Webmasters Programming

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa. See also: Nairalist Classified Ads
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.