PDA

View Full Version : Intergration problem


LoveLeather
01-02-2009, 10:38 AM
I am customizing my RomanCart pages. I have used this header code in my Basket and Checkot pages and it works a treat. But it will not work correctly on the page where they enter card details with PayPal Pro.

It will go in the header section, but it causes the centered payment fields to go over to the left of the screen.

I have worked out that its the tables that it does not like!!

Could anyone change the code to get rid of the tables or find a solution please.....I'm stuck with this one!

<div align="center">
<table width="650" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="650"><table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="134"><a href="index.htm"><img src="https://www.e-junkie.com/sslpic/8215.5eb55f9920728d1b2fe4f59833926f7b.jpg" alt="Genuine Designer Leather Headboards" width="134" height="74" border="0"></a></td>
<td width="257"><font color="#2E2E2E" size="-1" face="Arial"><strong>The Leather Headboard Specialists</strong></font></td>
<td width="259" align="right" valign="top"><img src="https://www.e-junkie.com/sslpic/8214.40640361635df212a615e803496a3b9e.jpg" width="188" height="27"></td>
</tr>
</table></td>
</tr>
</table>
</div>
<div align="center">
<table width="650" height="50" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="585" height="25"><font color="#2E2E2E" face="Arial"><strong>Basket - </strong>Items in your shopping cart</font></td>
</tr>
</table>
</div>

domedia
01-02-2009, 01:35 PM
Code looks fine to me. I don't see any payment fields though.

LoveLeather
01-02-2009, 01:40 PM
In RomanCart you can add a header and a footer to each page suring the checkout stages. Basket-Checkout-Payment.

All the important stuff is set and you can just style the page to look like your site.

All the pages are woking fine apart from the last page where customers input their card details and make payment.

When I add that header code, the payment fields go to the left side of teh page instead of staying put in the centre!

When I remove the code it goes back to the centre!

domedia
01-02-2009, 01:54 PM
In RomanCart you can add a header and a footer to each page suring the checkout stages. Basket-Checkout-Payment.

All the important stuff is set and you can just style the page to look like your site.

All the pages are woking fine apart from the last page where customers input their card details and make payment.

When I add that header code, the payment fields go to the left side of teh page instead of staying put in the centre!

When I remove the code it goes back to the centre!
Yeah that does sound problematic, but as you know unless we see it, all I can say is that you need to change the code :-(

LoveLeather
01-02-2009, 02:27 PM
<html><head>
<title>Secure Card Payment</title>
<style>
/* Standard style for buttons */
BUTTON, .button
{
color: buttontext;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: x-small;
background-color: #F5F5F5;
border-color: #7F9DB9;
width: 150;
}
TABLE.romantable {
border-collapse: collapse;
border: 0px solid #;
TD : ffffff;

}
</style>
</head>
<body bgcolor='F7F7F7' >
<script type="text/javascript" language="JavaScript">
document.fgColor='484848';
</script>
<form action=paypalproprocess.asp method=post autocomplete="off">
<table border=0 align='center' class='romantable' style='font-size: 8pt; font-family: verdana;' border=1 >
<tr><td colspan=4><div align="center">
<table width="650" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="650"><table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="134"><a href="index.htm"><img src="https://www.e-junkie.com/sslpic/8215.5eb55f9920728d1b2fe4f59833926f7b.jpg" alt="Genuine Designer Leather Headboards" width="134" height="74" border="0"></a></td>
<td width="257"><font color="#2E2E2E" size="-1" face="Arial"><strong>The Leather Headboard Specialists</strong></font></td>
<td width="259" align="right" valign="top"><img src="https://www.e-junkie.com/sslpic/8214.40640361635df212a615e803496a3b9e.jpg" width="188" height="27"></td>
</tr>
</table></td>
</tr>
</table>
</div>
<div align="center">
<table width="650" height="50" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="585" height="25"><font color="#2E2E2E" face="Arial"><strong>Basket
- </strong>Items in your shopping cart</font></td>
</tr>
</table>
</div></td></tr>
<tr><td colspan=2></td><td colspan=2 align="LEFT">&nbsp</td></tr>
<tr><td colspan=4 align="LEFT">&nbsp</tr>
<tr><td colspan=2></td><td align="LEFT" colspan=2><b>Fields marked with * are mandatory</b></td></tr>
<tr><td align="RIGHT" colspan=2>Name of Cardholder*</td><td>&nbsp</td><td>Mr ssssssssss sssssssss</td></tr>
<tr><td align="RIGHT" colspan=2>Card Number*</td><td>&nbsp</td><td><input type=text maxlength=50 name=cardnumber value=""></td></tr>
<tr><td align="RIGHT" colspan=2>Expiry Date*</td><td>&nbsp</td><td>
<select name="expmonth" size="1">
<option selected value="01"> 01 </option>
<option value="02"> 02 </option>
<option value="03"> 03 </option>
<option value="04"> 04 </option>
<option value="05"> 05 </option>
<option value="06"> 06 </option>
<option value="07"> 07 </option>
<option value="08"> 08 </option>
<option value="09"> 09 </option>
<option value="10"> 10 </option>
<option value="11"> 11 </option>
<option value="12"> 12 </option>
</select>
<select name="expyear" size="1">

<option selected value="09">2009 </option>

<option value="10">2010 </option>

<option value="11">2011 </option>

<option value="12">2012 </option>

<option value="13">2013 </option>

<option value="14">2014 </option>

<option value="15">2015 </option>

<option value="16">2016 </option>

<option value="17">2017 </option>

<option value="18">2018 </option>

<option value="19">2019 </option>

<option value="20">2020 </option>

<option value="21">2021 </option>

<option value="22">2022 </option>

<option value="23">2023 </option>

<option value="24">2024 </option>

</select>
</td></tr>

<tr><td align="RIGHT" colspan=2>Start Date&nbsp;(Maestro only)</td><td>&nbsp</td><td>
<select name="stmonth" size="1">
<option selected value="XX"> --- </option>
<option value="01"> 01 </option>
<option value="02"> 02 </option>
<option value="03"> 03 </option>
<option value="04"> 04 </option>
<option value="05"> 05 </option>
<option value="06"> 06 </option>
<option value="07"> 07 </option>
<option value="08"> 08 </option>
<option value="09"> 09 </option>
<option value="10"> 10 </option>
<option value="11"> 11 </option>
<option value="12"> 12 </option>
</select>
<select name="styear" size="1">
<option selected value="XX">-------</option>
<option value="00">2000 </option>
<option value="01">2001 </option>
<option value="02">2002 </option>
<option value="03">2003 </option>
<option value="04">2004 </option>
<option value="05">2005 </option>
<option value="06">2006 </option>
<option value="07">2007 </option>
<option value="08">2008 </option>
<option value="09">2009 </option>
<option value="10">2010 </option>
<option value="11">2011 </option>
<option value="12">2012 </option>
<option value="13">2013 </option>
<option value="14">2014 </option>
</select>
</td></tr>
<tr><td align="RIGHT" colspan=2>Issue Number&nbsp;(Maestro only)</td><td>&nbsp</td><td><input type=text maxlength=5 size=3 name=issuenumber value=""></td></tr>

<tr><td align="RIGHT" colspan=2>CVV2 Code (<a href=# onclick = "window.open('https://secure.romancart.com/cv2/info.htm', 'infowin',config='height=350,width=340, toolbar=no, menubar=no, scrollbars=yes,resizable=yes,location=no, directories=no, status=no');return false;">What is this?</a>)*</td><td>&nbsp</td><td><input type=text maxlength=5 size=5 name=cvvcode></td></tr>
<tr><td colspan=4>&nbsp;</td></tr>
<tr><td align="RIGHT" colspan=2></td><td>&nbsp</td><td><b>Amount=4.99</b></td></tr>
<tr><td colspan=4>&nbsp;</td></tr>
<tr><td colspan=3></td><td><input class=button type=submit value="Submit Card Details"></td></tr>
<tr><td colspan=4>

<input type=hidden name=params value='HAAbAw0CEAgCDVJbTFhLRBIABAocDwAbDAgFVVtbV1F DVlVHGxsAEAQbBlxSXVtaWkc='>
<INPUT TYPE = "hidden" name="storeid" size=30 maxlength=30 value = '35458'>
<INPUT TYPE = "hidden" name="totalprice" size=30 maxlength=30 value = '4.99'>
<INPUT TYPE = "hidden" name="oid" size=30 maxlength=30 value = '4450144'>&nbsp</td></tr>
<tr><td colspan=4></td></tr>
</table>
</form>
</body>
</html>

Thats the entire code from the page in question. As I said before it works fine on the Basket and Checkout pages.

coloeagle
01-03-2009, 02:22 PM
Try moving the first div align="center" up before your opening form tag