Paypal Form Query

This is a discussion on "Paypal Form Query" within the JavaScript Forum section. This forum, and the thread "Paypal Form Query are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 20th, 2007, 23:37
SuperMember

SuperMember
Join Date: Apr 2007
Location: UK
Age: 31
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Paypal Form Query

Hi All,

I have spent an absolute eternity trying to manipulate a paypal order form using javascript to get it to do what I want. I have got it working to a satisfactory degree but there are a couple of things that are bugging me.

1) There are 2 sizes of print available to buy on the site (4x6cm & 11x14cm). I wanted a shipping charge for the first item but additional items should be free of postage. Its only paper after all so people don't expect to get 3 postage charges if they buy 3 prints. I have managed to get the form so if users select more than 1 of the same size print the postage doesn't increase. However, if a user wants to buy one of each size print the postage doubles. Does anyone know what I have to do to make the postage stay the same in spite of what size is ordered?

Here is the link:

http://www.sjohnsonart.co.uk/HTML/CO150STD2LGOPT.html

2) A less important point but bugging nonetheless! If you select your item in IE and "add to basket" when you go back to the site to continue shopping the Print Size field is blank. You have to refresh the page to see the default size again.

Help, particularly with point 1 would be much appreciated.

Thanks,

Craig
Reply With Quote

  #2 (permalink)  
Old Jun 20th, 2007, 23:58
SuperMember

SuperMember
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Paypal Form Query

Hi

I dont know if this will help but in your paypal profile settings under postage calculations you may have to set the cost and price range settings so that the cost column is set to £3 for all price ranges.
Reply With Quote
  #3 (permalink)  
Old Jun 21st, 2007, 00:15
SuperMember

SuperMember
Join Date: Apr 2007
Location: UK
Age: 31
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Paypal Form Query

Hiya,

No, that's not it. The other day I had to check the box that said:

"Click here to allow transaction-based postage values to override the profile postage settings listed above (if profile settings are enabled)."

This means the form only should be working out the postage charge.

As an example, I want someone in the UK to be able to order a 4x6 print and an 11x14 print and only get charged £3.00 shipping. Currently they would get charged £6.00 postage.
Reply With Quote
  #4 (permalink)  
Old Jun 21st, 2007, 00:49
SuperMember

SuperMember
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Paypal Form Query

try this

HTML: Select all
Ship To: <select name="shp">
  <option>Select Shipping</option>
  <option value="s1=0.00 s2=0.00 ">United Kingdom</option>
  <option value="s1=7.00 s2=0.00">International</option>
</select>
       
      
 <br/>
 <br/>
        <input type="image" src="https://www.paypal.com//en_GB/i/btn/sc-but-03.gif" name="submit" 
onclick="CalculateOrder(this.form)" alt="Make payments with PayPal - it's fast, free and secure!"/>
<input type="image" src="../images/viewcart.gif" alt="cart view" 
  onclick="document.forms.viewcart.target = 'paypal';
           document.forms.viewcart.submit ();
           return false;" />        
<input type="hidden" name="add" value="1"/>
        <input type="hidden" name="cmd" value="_cart"/>
        <input type="hidden" name="business" value="<A href="mailto:sales@sjohnsonart.co.uk"/">sales@sjohnsonart.co.uk"/>
        <input type="hidden" name="item_name" value="Seven Sisters, Sussex"/>
        <input type="hidden" name="item_number" value="CO150STD2. Seven Sisters, Sussex."/>
        <input type="hidden" name="amount" value=""/>
 <input type="hidden" name="handling" value="" />
 <input type="hidden" name="handling_cart" value="" />
 <input type="hidden" name="shipping" value="s1" />
 <input type="hidden" name="shipping2" value="s1" />
 <input type="hidden" name="no_note" value="1"/>
        <input type="hidden" name="currency_code" value="GBP"/>
    </form>
it seems to work when i tested it.

Last edited by c010depunkk; Jan 9th, 2008 at 06:28. Reason: please use [HTML] tags when posting HTML
Reply With Quote
  #5 (permalink)  
Old Jun 21st, 2007, 00:55
SuperMember

SuperMember
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Paypal Form Query

forget that had it working then went tits up
Reply With Quote
  #6 (permalink)  
Old Jun 21st, 2007, 01:02
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Paypal Form Query

In my experience you can apply shipping and give it a value of $3. If they purchase another one of the same exact item you can give shipping2 a value of 0.00. However once you buy one of one item and then one of another item, you run into problems.

It's almost best to Use the shipping1 and shipping2 only when they are buying really heavy items and you know the standard $5 flat rate will not be enough to cover shipping.
I try to always figure out the flat rate ranges as best as I can.

Really blows that Paypal or someone affiliated has not come up with a shipping calculator yet. I feel this is a serious need that Paypal needs to resolve asap.

I've begun to use free shopping carts that allow the implementation of shipping calculators, then use paypal just for check out or google checkout.
Reply With Quote
  #7 (permalink)  
Old Jun 21st, 2007, 11:01
SuperMember

SuperMember
Join Date: Apr 2007
Location: UK
Age: 31
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Paypal Form Query

Very annoying that Paypal don't offer better solutions for shipping. People who come to my site and buy more than one print won't expect to pay double the shipping for a different item. Its only a piece of paper after all, no weight involved.

The flat rate option would be fine if I was just selling the goods domestically. I could set my Paypal profile to charge say £3.00 for for an unlimited order value. The problem is that we want to sell international as well and the shipping will be £7.00 so I would lose £4.00 each time an international customer placed an order.

I have spent 2 weeks trying to resolve this shopping cart issue. I have come to the point of despair and would be willing to pay someone to create the solution for us. I just want to get on with getting the site up and running!

Last edited by Craigj1303; Jun 21st, 2007 at 11:04.
Reply With Quote
  #8 (permalink)  
Old Jun 21st, 2007, 11:13
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Paypal Form Query

http://www.mals-e.com/home.php

One solution is to use this free cart. Set up the cp. Create new html buttons for each product. Get a shipping calculator and set up the check out.
This would be an easy solution.
Reply With Quote
  #9 (permalink)  
Old Jun 21st, 2007, 13:02
SuperMember

SuperMember
Join Date: Apr 2007
Location: UK
Age: 31
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Paypal Form Query

Looks like a good option. I tried a demo and there is the exact shipping calculator I need available.

Just one thing....how do I implement that in to my existing site? All I want is the shipping calculator bit on the existing link I posted at the start of the thread, everything else should be the same. This guy has loads of different options for the cart set-up but once you've selected what options you want there is no explanation on how to implement in to your own site?
Reply With Quote
  #10 (permalink)  
Old Jun 21st, 2007, 13:27
SuperMember

SuperMember
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Paypal Form Query

You'll need to change all the html buttons so they work with the new cart.
Then the options will come into play at checkout.
Reply With Quote
  #11 (permalink)  
Old Jun 21st, 2007, 21:08
SuperMember

SuperMember
Join Date: Apr 2007
Location: UK
Age: 31
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Paypal Form Query

Lchad, thanks as always. I have a working 3rd party shopping cart that checks out at Paypal.
Reply With Quote
  #12 (permalink)  
Old Jan 8th, 2008, 19:31
SuperMember

SuperMember
Join Date: Apr 2007
Location: UK
Age: 31
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Paypal Form Query

I've been working with the 3rd party shopping cart software described in the above discussion for 7 months now. It is a workable solution to the shipping calculator issue I had but now I am reviewing the site and trying to make a few improvements I am not happy with the fact that a potential buyer has to enter their name and address details twice. That is if the customer doesn't have a Paypal account. If you check the link below and go through the motions of an order you will see what I mean.

www.sjohnsonart.co.uk/HTML/CO150STD2LGOPT.html

I recently checked the site of another artist who seems to have a shopping cart that calculates shipping for different world zones and also charges £3.00 for the first print and £1.00 for additional prints thereafter. http://www.peterwagonfinearts.co.uk

This is the sort of thing that I want and it also seems to go straight to Paypal without the need for 3rd party intervention as far as I can see. I tried to check the source of the page so I could see what form he was using but I couldn't see any forms, I think because the page was Frames?

Anyone got any ideas how I can improve the shopping cart procedure for my site?

Thanks & Rgs

Craig
Reply With Quote
  #13 (permalink)  
Old Jan 8th, 2008, 19:41
SuperMember

SuperMember
Join Date: Apr 2007
Location: UK
Age: 31
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Paypal Form Query

I just checked again and it now seems to carry over the address details from the 3rd party cart software to Paypal. I'm sure it didn't do that initially!! Anyway, as long as it's doing that and saving people having to enter the same info. twice I am much happier!
Reply With Quote
Reply

Tags
form, script

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pay with Paypal? Jack Franklin Hosting & Domains 19 Jun 24th, 2008 13:19
[SOLVED] Signup Form With Paypal Button longstand PHP Forum 0 Jan 23rd, 2008 12:34
[SOLVED] Registrain form button to Paypal longstand PHP Forum 3 Jan 20th, 2008 19:38
Incorporating Paypal Into My PHP Registartion Form longstand PHP Forum 5 Jan 15th, 2008 21:06
MySQL query query dangergeek Databases 3 Apr 12th, 2007 12:45


All times are GMT. The time now is 22:38.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43