Urgent

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
vidyadoiphode
Forum Newbie
Posts: 14
Joined: Wed Oct 04, 2006 4:46 am

Urgent

Post by vidyadoiphode »

Hello,



I am using authorize.net for transaction.

I want to pass shipping price and shipping type to payment form and want to display there.

I didn’t find any variable which shows that.

Can anyone please tell me solution?



Following is my code.



These are the variables I have already used.


*** PLEASE USE PHP CODE TAGS WHEN POSTING ***

Code: Select all

echo ("<input type=\"hidden\" name=\"x_description\" value=\"" . $VaritemName . "\">\n" );

echo ("<input type=\"hidden\" name=\"x_login\" value=\"" . $loginid . "\">\n");

echo ("<input type=\"hidden\" name=\"x_invoice_num\" value=\"" .$invoice_num. "\">\n");

echo ("<input type=\"hidden\" name=\"x_amount\" value=\"" . $varAmount . "\">\n");

echo ("<input type=\"hidden\" name=\"x_first_name\" value=\"".$varFirstName . "\">\n");

echo ("<input type=\"hidden\" name=\"x_last_name\" value=\"".$varLastName . "\">\n");

echo ("<input type=\"hidden\" name=\"x_company\" value=\"".$varCompany . "\">\n");

echo ("<input type=\"hidden\" name=\"x_address\" value=\"".$totaddress . "\">\n");

echo ("<input type=\"hidden\" name=\"x_city\" value=\"".$varCity . "\">\n");

echo ("<input type=\"hidden\" name=\"x_state\" value=\"".$varState . "\">\n");

echo ("<input type=\"hidden\" name=\"x_zip\" value=\"".$varZip . "\">\n");

echo ("<input type=\"hidden\" name=\"x_phone\" value=\"".$varPhone. "\">\n");

echo ("<input type=\"hidden\" name=\"x_fax\" value=\"".$varFax. "\">\n");

echo ("<input type=\"hidden\" name=\"x_country\" value=\"".$varCountry. "\">\n");

echo ("<input type=\"hidden\" name=\"x_email\" value=\"".$varEmail. "\">\n");

echo ("<input type=\"hidden\" name=\"x_ship_to_first_name\" value=\"".$varFirstNameShip. "\">\n");

echo ("<input type=\"hidden\" name=\"x_ship_to_last_name\" value=\"".$varLastNameShip. "\">\n");

echo ("<input type=\"hidden\" name=\"x_ship_to_company\" value=\"".$varCompanyShip. "\">\n");

echo ("<input type=\"hidden\" name=\"x_ship_to_address\" value=\"".$totaddressShip. "\">\n");

echo ("<input type=\"hidden\" name=\"x_ship_to_city\" value=\"".$varCityShip. "\">\n");

echo ("<input type=\"hidden\" name=\"x_ship_to_state\" value=\"".$varStateShip. "\">\n");

echo ("<input type=\"hidden\" name=\"x_ship_to_zip\" value=\"".$varZipShip. "\">\n");

echo ("<input type=\"hidden\" name=\"x_ship_to_country\" value=\"".$varCountryShip. "\">\n");

echo ("<input type=\"hidden\" name=\"x_card_code\" value=\"".$varcvv. "\">\n");

echo ("<input type=\"hidden\" name=\"x_card_num\" value=\"".$varCardNumber. "\">\n");

echo ("<input type=\"hidden\" name=\"x_exp_date\" value=\"".$varExpdate. "\">\n");

echo ("<input type=\"hidden\" name=\"x_tax\" value=\"".$vartax. "\">\n");
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

This topic is a duplicate of viewtopic.php?p=363519 ... Please don't just post the same thing again.
Locked