0) { $pd_price_no_discount = $pd_price_original; $pd_price_original = $pd_price_no_discount - $pd_price_discount; } $pd_price = floatval((floatval($pd_price_original))); } //...Fetch the product details.....end here............ //...Fetch the current value of USD/ EURO.....Start here............ $query_2 = "select * from currency_rate where usd_rate!=0 and usd_rate!='' and euro_rate!=0 and euro_rate!='' order by id desc"; $result_2 = mysql_db_query(DB_NAME_REVAMP, $query_2) or die(mysql_error()); if (mysql_num_rows($result_2) != '') { $usd_amt = round(mysql_result($result_2, $i, 'usd_rate'), 2); $euro_amt = round(mysql_result($result_2, $i, 'euro_rate'), 2); } } //...Fetch the current value of USD/ EURO.....End here............ $thecurrenttimestamp = mktime(); $yyyy = date("Y", $thecurrenttimestamp); $mm = date("m", $thecurrenttimestamp); $dd = date("d", $thecurrenttimestamp); $hh = date("H", $thecurrenttimestamp); $ii = date("i", $thecurrenttimestamp); $sql = "SELECT memberlogin, memberexpdate FROM logger WHERE abc='$abc'"; $result = mysql_db_query(DB_NAME_REVAMP, $sql) or die(mysql_error() . __LINE__); if (mysql_error()) error("Unexpected Error") or die(mysql_error() . __LINE__); $count = mysql_num_rows($result); if ($count != 0) { $login = stripslashes(mysql_result($result, 0, 0)); $currenttime = time(); } else{ $login = ''; } $login_id = $_SESSION["username"]; if (!empty($login) && !empty($login_id)) { $q1 = "select fname,lname,country,mobile,telephone,login,address1,state,zipcode,city from member where login ='$login_id'"; $result = mysql_db_query(DB_NAME, $q1) or die(mysql_error() . __LINE__); while ($row = mysql_fetch_assoc($result)) { $contact_person = trim($row['fname']) . " " . trim($row['lname']); //$street = trim($street); $country = trim($row['country']); $add = trim($row['address1']); $mobile = trim($row['mobile']); $emailaddr = trim($row['login']); $state = trim($row['state']); $zipcode = trim($row['zipcode']); $city = trim($row['city']); $telephone = trim($row['telephone']); $readonly = "readonly=\"readonly\""; $q2 = "select companyname from member where login ='$login_id'"; $result1 = mysql_db_query(DB_NAME_REVAMP, $q2) or die(mysql_error() . __LINE__); $row2 = mysql_fetch_assoc($result1); $companyname = trim($row2['companyname']); } } else if (!empty($_SESSION['txtEmailId'])) { $login = $_SESSION['txtEmailId']; $q1 = "select fname,lname,country,mobile,telephone,login,address1 from member where login ='$login'"; $result = mysql_db_query(DB_NAME, $q1) or die(mysql_error() . __LINE__); while ($row = mysql_fetch_assoc($result)) { $contact_person = trim($row['fname']) . " " . trim($row['lname']); //$street = trim($street); $country = trim($row['country']); //$city = trim($row['city']); //$state = trim($row['state']); $telephone = trim($row['telephone']); $add = trim($row['address1']); $mobile = trim($row['mobile']); $emailaddr = trim($row['login']); $readonly = "readonly=\"readonly\""; $q2 = "select companyname from member where login ='$login_id'"; $result1 = mysql_db_query(DB_NAME_REVAMP, $q2) or die(mysql_error() . __LINE__); $row2 = mysql_fetch_assoc($result1); $companyname = trim($row2['companyname']); } } //die($_SESSION['txtEmailId']); $thecurrenttimestamp = $yyyy . $mm . $dd . $hh . $ii; $nameofcardowner = str_replace(" ", "", $user); $card_no = str_replace(",", "", $card_no); $orderdescription = "YarnsandFibers"; //your script should substitute detailed description of your order here ( This field is not mandatory ) $description = $contact_person . "@" . $pd_name . "@" . $thecurrenttimestamp; $date = date('Y-m-d H:i:S'); $date = date('Y-m-d H:i:S'); if ($pd_currency == 'EURO') $dsp_amnt = (($pd_price * $euro_amt));//for calculating current actual amount else if ($pd_currency == 'USD') $dsp_amnt = (($pd_price * $usd_amt));//for calculating current actual amount else $dsp_amnt = ($pd_price); //die($dsp_amnt); $query_1 = "INSERT INTO `creditcard_payment_applied` (`name` , `country` ,`address1` , `login` , `email` , `date` , `description` , `orderdescription` , `disp_amount` , `currencysymbol` , `customamount` , `euro_amt` , `usd_amt` , `plan`) VALUES ('$contact_person','$country','$add', '$login', '$emailaddr', '$date', '$description', '$orderdescription', '$pd_price', '$pd_currency', '$dsp_amnt', '$euro_amt', '$usd_amt','$pd_name')"; $result_1 = mysql_db_query(DB_NAME, $query_1) or die(mysql_error() . __LINE__); //fakhruddin: get insert ID for successfull payment page $_SESSION['app_id'] = mysql_insert_id(); //} // if ($_POST['submit'] == " NO ") { if (empty($login)) setcookie("IN_IR_IS", $_SERVER['REQUEST_URI'], 0, "/", "");//, 0, "/","" else setcookie("IN_IR_IS", NULL, 0, "/", "");//, 0, "/","" printf('', "http://www.yarnsandfibers.com/preferredsupplier/registration.php"); } else if ($_POST['submit'] == " YES ") { //die($_POST['submit']); if (empty($login)) setcookie("IN_IR_IS", $_SERVER['REQUEST_URI'], 0, "/", "");//, 0, "/","" else setcookie("IN_IR_IS", NULL, 0, "/", "");//, 0, "/","" printf('', "http://www.yarnsandfibers.com/preferredsupplier/login.php"); } $selectCountry=mysql_db_query(DB_NAME,"SELECT id,country_name as name FROM add_countries"); $countries=array(); while($row=mysql_fetch_array($selectCountry)){ $countries[$row['id']]=$row['name']; } ksort($countries); ?> YnFx Preferred Supplier :: Payment
Home >
Notice: Undefined variable: pd_name in /home/ynfx/public_html/rtransecute/index.php on line 635
> Payment Option
 
Please follow these steps to pay for : " . ucwords($pd_name) . " "; if ($pd_price_discount > 0) { echo " : Base Amount " . $pd_price_no_discount . " " . $pd_currency . "  ||  " . $pd_price_original . " " . $pd_currency . ""; } else { echo " : Base Amount " . $pd_price_original . " " . $pd_currency . ""; } ?>
 
How you want to pay Online Credit Card / Debit Card Wire Transfer  
Payment Option
CC Avenue   
 
"; $key_32bit = fread($fh, 32); fclose($fh); $MerchantId = "ynfx"; //Merchant ID //$Amount = round((200 * 6215),0); //Amount should be in paisa $Amount = round($dsp_amnt, 0); //Amount should be in paisa $OrderId = rand(5000, 15000); //Invoice Number //echo "
"; $URL = "http://www.yarnsandfibers.com/rtransecute/payment_done.php?pd_id=$pd_id"; //URL of your response Payment Page $WorkingKey = $key_32bit; $checksum = getchecksum($MerchantId, $Amount, $OrderId, $URL, $WorkingKey); ?>

 
Name />
Email />
Company Name />
Mobile
   
Tel no.
   
Address:
Country:
Coupon Code:  
Payble Amount
 
 
 



PriceWatch
- Weekly Global prices of yarns, fibers and Intermediates
- 23 products covered-Polyester Chain, Nylon Chain, Acrylic Chain, Viscose Chain, Cotton, Wool, Wood- Pulp, Spun Yarn, Crude Oil, Naphtha
- Weekly Report on your Desktop & Online
- Historical Price Trends
- Regions covered USA, Europe & Asia
 
Industry News Reports & Statistics
- Daily News from across the world published online
- Archives available for the last 5 yrs
- Section-wise search of news available for your ease
- Weekly Industry Report on Price Scenario/ Production /Consumption
 
Forecast Report
- YnFx, has endeavored to foray into forecasting market trends to bring to the readers, its expertise and experience
- Polyester Price Forecast
- Nylon Price Forecast
- Regions covered USA, Europe & Asia