₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,907 members, 8,514,333 topics. Date: Friday, 06 November 2026 at 12:56 PM

Toggle theme

Bigtt76's Posts

Nairaland Forum › Bigtt76's Profile › Bigtt76's Posts

1 2 3 4 5 6 7 8 ... 548 549 550 551 552 553 554 555 556 (of 587 pages)

Business › Re: Should We Stop Involving Nigerians In Online Business Or Do Anything With Them? by bigtt76(f): 7:37am On Nov 08, 2013
Hmmm ...its just that 'when its too good to be true ....it surely might bite you too hard' nor vex ya grin we don learn de hard way!
Webmasters › Re: Connecting Your Form To Interswitch Webpay by bigtt76(f): 6:48am On Nov 08, 2013
5hyguy: In the code you gave to me thrs no where to specify that, or whr am I supposed to specify that?
Sorry about the call drop. The page you want the applicant to go to after payment is stated and given to Pay4me during setup. They configure all that for you.

If you can, send me your application's Response Notification URL (where the platform posts successful transactions on your portal to) as well as the URL you want your applicants redirected to on successful payment I will get them change my demo settings to yours.
Webmasters › Re: Connecting Your Form To Interswitch Webpay by bigtt76(f): 5:26am On Nov 08, 2013
5hyguy: nice one, very flexible and easy to use, the only thing is the page that has to be printed as a proof of payment cant be customized, it always has to be their page. unlike if you were intergrating directly with interswtich, you could easily specify what page it redirects to after payment. do you get
Yes you specify a page to redirect to after payment by the applicant. When a payment is successful, the applicant sees a button which when clicked redirects him/her to the page the site owner wants them to be redirected to for example a customized thank you page, confirmation page or receipt page.
Webmasters › Re: Connecting Your Form To Interswitch Webpay by bigtt76(f): 5:07pm On Nov 07, 2013
5hyguy: Aiite, so I just nid to add an action attri to my form and call dis particular snippet in a page
Sure. You need to be assigned with a Merchant ID (326), Merchant Code (1551060007) and Merchant Key (1466509421) try this and see if you can get a redirect to the gateway. If you succeed then u're done and need to contact them at info@pay4me.com for necessary production setup details
Webmasters › Re: Connecting Your Form To Interswitch Webpay by bigtt76(f): 2:53pm On Nov 07, 2013
5hyguy: Its not compulsory its interswitch, is there an alternative? Hw straight forward is d implementation, like I luv paypals integration that uses simple javascript, I wanted to call u, but felt ul b @ work, so I can call nytym right
There's Pay4me and this is a sample script to send payment request to their gateway

<?php

//NOTE: This is assigned to merchants by Pay4me for use on the Demo Environment
$merchant_id = ;

$item_num = mt_rand(1000,9999);
//$trans_num = mt_rand(1000,99999999999);
$sch = mt_rand(100,9999);
//NOTE: This is assigned to merchants by Pay4me for use on the Demo Environment
$merchant_code = "";

//NOTE: This is assigned to merchants by Pay4me for use on the Demo Environment
$merchant_key = "";

$item_id = $_POST['item_id'];

$name = $_POST['item_name'];

$item_description = $_POST['item_description'];

$price = $_POST['amount'];

send_payment_request($merchant_id, $item_id, $item_num, $price, $item_description, $name, $merchant_code, $merchant_key, $sch);

function send_payment_request($merchant_id, $item_id, $item_num, $price, $item_description, $name, $merchant_code, $merchant_key, $sch)

{

$request = '<?xml version="1.0" encoding="UTF-8"?>

<order xmlns="http://www.pay4me.com/schema/pay4meorder/v1">

<merchant-service id="'.$merchant_id.'">

<item number="'.$item_num.'">

<transaction-number>9876543210</transaction-number>

<name>'.$name.'</name>

<description>'.$item_description.'</description>

<price>'.$price.'</price>

<currency>naira</currency>

<parameters>

<parameter name="ref_no">'.$sch.'</parameter>

</parameters>

</item>

</merchant-service>

</order>';

$header[] = "Authorization: Basic ".base64_encode($merchant_code.":".$merchant_key);

$header[] = "Content-Type: application/xml;charset=UTF-8";

$header[] = "Accept: application/xml;charset=UTF-8 ";

$url = "http://pay4me.demo.swgindia.com/order/payment/payprocess/v1/PID/".$merchant_code; //Demo Environment URL

//$url = "https://www.pay4me.com/order/payment/payprocess/v1/PID/".$merchant_code; // Production Environment URL

$ch = curl_init(); //initialize curl handle
// enable below 2 linesfor https sites
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);

curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);

curl_setopt($ch, CURLOPT_URL, $url); //set the url

curl_setopt($ch, CURLOPT_HTTPHEADER, $header);

curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); //return as a variable

//curl_setopt($ch, CURLOPT_HEADER, 0);

curl_setopt($ch, CURLOPT_POST, 1); //set POST method

curl_setopt($ch, CURLOPT_POSTFIELDS, $request); //set the POST variables

curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);

$response = curl_exec($ch); //run the whole process and return the response

curl_close($ch); //close the curl handle

$xdoc = new DOMDocument();

$isLoaded = $xdoc->loadXML($response);

$rurl = $xdoc->getElementsByTagName('redirect-url')->item(0)->nodeValue ;

header("Location: $rurl"wink;

}

?>
They offer the Interswitch Verve and Master Card Naira as well as VISA Card Processing. The Bank option is also available for payment processing and of course their eWallet system which enables bulk payment transactions without having to put in card details each time. You can explore them for a change.
Webmasters › Re: Connecting Your Form To Interswitch Webpay by bigtt76(f): 11:04am On Nov 07, 2013
5hyguy: Hmmm do u mind if I gv u a call something, I think things would be really clear please, thanks
Ok. One question ..must you integrate with Interswitch? Why not go for one which is cost free and is an aggregator? Buzz me when you can.
Politics › Re: Chime Denies Detaining Wife: I’m Protecting Her From Ridicule by bigtt76(f): 5:37am On Nov 07, 2013
I said it before ...someone (husband or wife) has kolo ...sad though. Even more sad Sahara Reporters are making a kill out of this because he is PDP ...time we stop all these sensationalism.
Jokes Etc › Re: Mavin Records Kicks Out Wande Coal, Signs Ebenezer Obey by bigtt76(f): 10:57pm On Nov 06, 2013
Hahaha ...can't wait to hear Ebenzer Obey shout ....'IT's Don Jazzy! Or Don Jazzy tun ti de oo! grin
Music/Radio › Re: How Don Jazzy's Twitter Rants Exposed His Business Foolishness And Selfishness by bigtt76(f): 10:54pm On Nov 06, 2013
Noted!
Music/Radio › Re: Don Jazzy Accuses Wande Coal Of Stealing His Song by bigtt76(f): 8:47pm On Nov 06, 2013
So who go come accuse dem both for stealing the name 'Baby Face'? Or den nor sabi Kenny Edmonds?
Celebrities › Re: REVEALED: How Tiwa Savage Caused The Feud Between Don Jazzy And Wande Coal by bigtt76(f): 8:25pm On Nov 06, 2013
Na bad she do? It was still going to come out anyway. Stop sensationalizing things grin
Music/Radio › Re: Shizzi On Alleged Stolen 'Baby Face' Song by bigtt76(f): 10:11am On Nov 06, 2013
Hmmm ..market time for Bloggers more news on this for them to dish out #ewu
Webmasters › Re: Connecting Your Form To Interswitch Webpay by bigtt76(f): 8:56am On Nov 06, 2013
5hyguy: Or probably am confusing my self, the variables dat are supposed to be hashed do they change per user who uses d form,or do we nid to create a form for every type of product or service u selling,
Yes the variables change for every form or every transaction carried out. For every form filled on your site, there ought to be a unique txn_ref, product_id and pay_item_id (note the txn_ref is like your receipt number, product_id maybe numbers you categorize the forms into such membership premium or membership gold etc while the pay_item_id you can use something unique).

These numbers can be randomly generated using this function mt_rand(100,9999) as maybe the case for txn_ref and pay_item_id while for the product_id you can use static numbers.

The MAC key would be assigned to you by Interswitch and is your own unique identifier with them.
Celebrities › Re: Usain Bolt Admits Having Lots Of Sex During 2008 Beijing Olympics by bigtt76(f): 8:12am On Nov 06, 2013
Bad press for such an up coming role model ..SMH
Romance › Re: If U Were In This Man's Situation,what Will You Do? by bigtt76(f): 9:09pm On Nov 05, 2013
Why did he not provide adequate security for the wife? Na so e wan take protect and love her?
Webmasters › Re: Connecting Your Form To Interswitch Webpay by bigtt76(f): 4:05pm On Nov 05, 2013
1. You create your form which an applicant or user is to submit through your site

2. Ensure that the cost of the form is displayed on a 'confirmation' page which the applicant or user is to click on to trigger the payment process

3. Create a payment script which will derive its variables from the 'confirmation' page to send to the Interswitch Gateway in the format expected and post to the URL

<form name="form1" action="https://stageserv.interswitchng.com/test_paydirect/pay"
method="post">
<input name="product_id" type="hidden" value="XX" />
<input name="pay_item_id" type="hidden" value="XX" />
<input name="amount" type="hidden" value="XXXXXXX" />
<input name="currency" type="hidden" value="566" />
<input name="site_redirect_url" type="hidden" value="http://abc.com /getresponse”/>
<input name="txn_ref" type="hidden" value=" XXXAFTXXX”" />
<input name="hash" type="hidden" value="BB292DF9268F05CB9CBBC5E0C13CC1B13ACA34DC" />
</form>

4. The Hash you need to compute using SHA512 can be done from this site http://www.fileformat.info/tool/hash.htm? It is a combination of the following (I guess this is where you found difficult?)

You can also generate same in your script using the format hash('sha512', $variables_represented_by_the details_each_shown_below)
txn_ref
7645536
product_id
174
pay_item_id
23
amount
1000000
site_redirect_url
http://www.yoursite.com/return/
MAC key
AC43543FA32234HB23423AFH843535

Note that the MAC key would assigned to you by Interswitch for production. environment

The rest of the process is pretty straight forward.
Nairaland General › Re: Seun And His Team Are Clowns by bigtt76(f):
Hahaha ...you get work shaaaa! Like seriously when I see 'Self Service' representing 'M@$ turbation' sounds funny though cause when I see same on DSTV portal I cannot but laugh my a$s out! grin
Technology Market › Re: Glo Justifies Blackberry Tariff Slash by bigtt76(f): 8:22am On Nov 05, 2013
Market loss the main reason. What can a blackberry do that an Android cannot? Give that package to Android users and you will be the best network in the whole world grin
Webmasters › Re: Connecting Your Form To Interswitch Webpay by bigtt76(f): 8:11am On Nov 05, 2013
What do you mean by 'sha format automatically'? Please explain further.
Crime › Re: 8 Girls Jailed For Prostitution In Abuja by bigtt76(f): 5:46am On Nov 05, 2013
No option to prack and go free? Peopo una suppose jail una nor jail, peopo wey nor get natin una catch for street. Lek say una make economy better, den nor for de hwak t0t0 for street. God de watch una
Business › Re: Sterling Bank Launches The Sterling-arsenal Debit Cards by bigtt76(f): 5:16am On Nov 05, 2013
Story! I wonder why den nor tok say e go give holders free Visa to UK or ticket to go watch match for Emirates ....#park #well #jooor
Celebrities › Re: "You're Only Jealous Of My P**sy" -- Maheeda Fires At Charles Novia by bigtt76(f): 5:15am On Nov 05, 2013
Na who no know go follow #ashi de fight for street grin
Music/Radio › Re: Let's Save Majek Fashek by bigtt76(f): 5:08am On Nov 05, 2013
Talk to Don Jazzy! This should also be point of example to those small small boys musicians - Davido and Wizkid its only lurking round the corner, it will happen someday. They better start planning for the future.
Entertainment › Re: Skuki Peeshaun Runs Out Of Tattoo Shop In Pain by bigtt76(f): 11:23am On Nov 04, 2013
Una for pursue am to catch naa! Park wan side jooor!
Politics › Re: Patience Jonathan's Mother's State Burial (Pictures) by bigtt76(f): 10:55am On Nov 04, 2013
Wonder why all the hues and cries over Amaechi and Jonathan was all about sef. They only need Dickson to call Amaechi to order ....see size naaa! grin
Education › Re: We Expect Monday Meeting With FG To Be Fruitful – ASUU by bigtt76(f): 9:49am On Nov 04, 2013
Of course naaa ...we all know what happens when 'activists', 'opposing' politicians and even aggressive youths, gets invited to a meeting at Aso Rock. The result is always 'fruitful' and 'rock-fully' solid as a Ghana Must Go Bag.

ASUU go guys! Note when you come out from the meeting and you resume classes, you did so because your supposedly 'agreement' reached (God knows when) has been fully met and satisfied. WE DO NOT want to hear that this or that was not met next year ooo!

As you guys also resume, please kindly ensure that all those kettles and stoves replacing Bunsen Burner/Boiler etc in our University Laboratories, poor habitable accommodation facilities etc ...make sure they are all in order before you agree anything with the FG else we the students will follow you guys up o! grin
Islam › Re: Pig Fat In Shoprite Bread? by bigtt76(f): 9:45pm On Nov 03, 2013
nchewi: Well, am Commenting because this thread made frontpage!!!

But why use pig-fat, are we in short supply of cow-fat?
You get plenty fat from pig (lard) compared to cow!
Science/Technology › Re: 500 Students Observe Solar Eclipsein Abuja by bigtt76(f): 8:22pm On Nov 03, 2013
NASRDA? Jokers ...why den satellite nore pick Stella Oduah when she de arrange tif money buy BMW? #ewu ....wasting Nigeria's money since 2004
Romance › Re: My Girl Friend Of 3yrs Left Me Because Of #30000 by bigtt76(f): 7:22pm On Nov 03, 2013
Na wao ..you just fall hand o! Babe wan buy UK used BlackBerry or Tecno P4 you nor gree ...which fone she been de use sef? grin
Business › Re: A Piece Of Advice For Someone Want To Venture Into Selling Books In Lagos by bigtt76(f): 7:10pm On Nov 03, 2013
Nobody reads books any mmorein Lagos or elsewhere ...just pinging, wstsapping, 2go so dont invest and lose.
Celebrities › Re: Nollywood Actress Nkiru Sylvanus Turns Blogger by bigtt76(f): 7:05pm On Nov 03, 2013
And she paid you to advertise for her?

1 2 3 4 5 6 7 8 ... 548 549 550 551 552 553 554 555 556 (of 587 pages)