Paypal

Associate
Joined
16 May 2005
Posts
680
I'm linking a new e-commerce project through to Paypal, but when I get there and try and view the contents of the cart, it puts a hash at the end of the address but no window opens? I thought at first it was my yahoo browser so tried FF, but that does the same? Is it a glitch on their pages?
 
isn't there a URL that paypal give you that links to the cart? that kind of link, ie

Code:
www.paypal.com/#

always suggests to me that this link needs to be replaced/finished/updated.
 
Hi

Yeah I'm passing the cart details over to them, which it's then supposed to show when I click on the view cart link, but it just sits there doing nothing? It did used to work I'm sure of it, but now it's not doing anything.

I can't find another site that lets you pay with paypal to test if it's a problem with me or them without having to sign up to their site first!
 
Here's the code if anyone can cast an eye, I think something I'm passing is screwing up the Javascript on Paypals pages cos all the other windows open for the other links on the page and view contents one just sticks.

Code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:inline;">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="redirect_cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="amount" value="40.00">
<input type="hidden" name="shipping_1" value="0.00">
<input type="hidden" name="invoice" value="users-code">
<input type="hidden" name="custom" value="users-code">
<input type="hidden" name="return" value="http://www.merchantsite.com/completed.php">
<input type="hidden" name="cancel_return" value="http://www.merchantsite.com/notcompleted.php">
<input type="hidden" name="email" value="users-email">
<input type="hidden" name="first_name" value="PaypalTest">
<input type="hidden" name="last_name" value="PaypalTest">
<input type="hidden" name="address1" value="PaypalTest">
<input type="hidden" name="address2" value="PaypalTest">
<input type="hidden" name="city" value="PaypalTest">
<input type="hidden" name="state" value="PaypalTest">
<input type="hidden" name="zip" value="P5 5LP">
<input type="hidden" name="night_phone_b" value="01234567890">
<input type="hidden" name="item_name_1" value="1 x Why Dont You T - XL">
<input type="hidden" name="item_number_1" value="DC-WDYT-XL">
<input type="hidden" name="amount_1" value="20.00">
<input type="hidden" name="shipping2_1" value="0.00">
<input type="hidden" name="handling_1" value="0.00">
<input type="hidden" name="on0_1" value="-">
<input type="hidden" name="os0_1" value="-">
<input type="hidden" name="on1_1" value="-">
<input type="hidden" name="os1_1" value="-">
<input type="hidden" name="item_name_2" value="1 x Grey T-Shirt - Super XXL">
<input type="hidden" name="item_number_2" value="DC-GTS-SXXL">
<input type="hidden" name="amount_2" value="20.00">
<input type="hidden" name="shipping_2" value="0.00">
<input type="hidden" name="shipping2_2" value="0.00">
<input type="hidden" name="handling_2" value="0.00">
<input type="hidden" name="on0_2" value="-">
<input type="hidden" name="os0_2" value="-">
<input type="hidden" name="on1_2" value="-">
<input type="hidden" name="os1_2" value="-">
<input name="submit" type="submit" class="formbutton" onmouseover="this.className='formbutton_hover';" onmouseout="this.className='formbutton';" value="Go to Paypal" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
 
Back
Top Bottom