Post by kabdulgh » Tue Mar 11, 2008 3:35 pm

I have successfully created a payment gateway plugin for ipay88 (malaysian gateway) but have problems working in 3additional fields in the for

Code: Select all

<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="MerchantCode" value="<?php echo $this->email; ?>" />
<input type="hidden" name="ProdDesc" value="<?php echo $cfg['store_name']; ?>" />
<input type="hidden" name="Amount" value="<?php echo $total; ?>" />
<input type="hidden" name="Currency" value="<?php echo $currency_code; ?>" />
<input type="hidden" name="RefNo" value="<?php echo(rand(10000,100000)) ?>" />
<INPUT type="hidden" name="UserName" value="Name">
<INPUT type="hidden" name="UserEmail" value="email@hotmail.com">
<INPUT type="hidden" name="UserContact" value="phone number">
How can I make the form work to pass the customers Name, email and phone number?

Any help would be appreciated.

Newbie

Posts

Joined
Fri Dec 07, 2007 2:29 am

Post by bruce » Sat Mar 15, 2008 12:58 pm

Have a look in catalog\controller\checkout_confirm.php for code examples that use the information you need.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm
Who is online

Users browsing this forum: No registered users and 2 guests