Finally I have my shipping cost passing to PayPal in the right way but... (always is a "but"), there is something strange in my checkout page. It shows the first item, the shipping selector, amounts, etc, but the second item is shown down the cart itself.
I mean:
______________________________________________
\ this is the cart content \
\ with shipping cost etc. \
______________________________________________
and here appear other items with the remained data
And here the button to go to PayPal
Oh, my God, It is hard to explain.
I got in my checkout.html:
<INPUT type="hidden" value="_cart" name="cmd">
<INPUT type="hidden" value="1" name="upload">
<input type="hidden" name="first_name">
<input type="hidden" name="last_name">
<input type="hidden" name="address1">
<input type="hidden" name="address2">
<input type="hidden" name="city">
<input type="hidden" name="state">
<input type="hidden" name="zip">
<input type="hidden" name="email">
<INPUT type="hidden" value="email@bussiness.com" name="business">
<INPUT type="hidden" name="currency_code" value = "EUR">
<INPUT type="hidden" value="http://www.myweb.com/thankyou.html" name="return">
In my pp at the checkout funtion I have:
______________________________________________________________________________________
strFooter = "";
}
if ( PaymentProcessor == 'pp' ) {
//Process hidden values for PayPal.
strOutput += "<input type=hidden name=\"item_number_" + strFooter + "\" value=\"" + fields[0] + "\">";
strOutput += "<input type=hidden name=\"quantity_" + strFooter + "\" value=\"" + fields[1] + "\">";
strOutput += "<input type=hidden name=\"amount_" + strFooter + "\" value=\"" + fields[2] + "\">";
strOutput += "<input type=hidden name=\"item_name_" + strFooter + "\" value=\"" + fields[3] + "\">";
//strOutput += "<input type=hidden name=\"shipping_" + strFooter + "\" value=\"" + fields[4] + "\">";
strOutput += "<input type=hidden name=\"on0_" + strFooter + "\" value=\"" + fields[5] + "\">";
strOutput += "<input type=hidden name=\"handling_cart\" value=\"" +moneyFormat(fShipping)+"\">";
strOutput += "<input type=hidden name=\"no_shipping\" value=\"2\" />";
if (i == iNumberOrdered) {
strOutput += "<input type=hidden name=\"shipping_" + strFooter + "\" value=\"" + fShipping + "\">";
____________________________________________________________________________________
Would somebody please, help me with this?
Thank youuuuuuuuuu!
Sandra
