+ Reply to Thread
Results 1 to 2 of 2

Thread: Custom Paypal Script for Combined Shipping?

  1. #1
    redterror_11735 is offline x10Hosting Member redterror_11735 is an unknown quantity at this point
    Join Date
    Jun 2011
    Posts
    6

    Lightbulb Custom Paypal Script for Combined Shipping?

    Im a little new still with basic website scripting, and unfortunately my highschool class did not cover any sort of advanced coding like the one I need help with. Anyways on my website, I am selling many single-stock items, but when setting up the shopping cart I came across the fact that Paypal does not offer the ability to use combined shipping. After asking the company for help, I was simply told that I would need to create my own script to manage this.

    Now unfortunately the only example for script I have come across for this is if I'm selling many of a single item, which is not the case for me. The reason I can't use the predetermined shipping based on the purchase total is because I have different items of the same weight, but different pricings (it would therefore charge more for a $10-15 single item compared to a $1 item of the same weight).

    Anyways, does anyone have any advice for me, or can point me in the direction of a tutorial that offers me the code I need? By the way, the items being sold on the website are trading cards, if that helps in the explanation.

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Custom Paypal Script for Combined Shipping?

    Either:
    • calculate the shipping cost based on the combined weight of the items, or
    • assign each item a base cost for shipping that item and total these shipping costs, or
    • check if the carrer has a way to calculate shipping based on weight, source and destination postal codes and use that, or
    • use a pre-existing shopping cart rather than your own custom one.

    The last is likely the cheapest, fastest, easiest and all around best option.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread

Similar Threads

  1. Replies: 2
    Last Post: 03-09-2011, 03:23 PM
  2. Custom AJAX Upload Script
    By VPmase in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 07-25-2010, 10:50 AM
  3. [REQ][350 points]custom script
    By cybahq in forum The Marketplace
    Replies: 1
    Last Post: 08-30-2008, 05:37 AM
  4. Paypal Script??
    By blood181 in forum Programming Help
    Replies: 6
    Last Post: 04-25-2008, 04:58 PM
  5. PHP and HTML combined...
    By Fedlerner in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 08-16-2006, 01:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers