Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Posts
    29
    Plugin Contributions
    0

    PayPal IPN and Shipping Costs

    I noticed that when using PayPal IPN, it was adding shipping costs (more than from zencart). My client has an ebay store so he has flat rate shipping which needs to stay on. I figured out how to get rid of this:

    In your PayPal Acct >> Profile >> Shipping Calculations
    Check this box:
    "Miscellaneous — Allow transaction-based shipping settings to override profile settings"

    Then from zen cart the following values are passed (along with many more!)

    <form name="checkout_confirmation" action="https://www.paypal.com/cgi-bin/webscr" method="post" ...

    <input type="hidden" name="amount" value="46.75" /> ***This Value is the total cost with shipping***
    <input type="hidden" name="shipping" value="0.00" />

    So at PayPal it then says: Shipping: $0.00 (which ofcourse my client doesn't like)

    I was thinking of going into the code and taking the shipping out of "amount" and putting it into "shipping".

    Anyone have a similar situation? I'm wondering if I do this -- will I mess up database fields elsewhere?

  2. #2
    Join Date
    Apr 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: PayPal IPN and Shipping Costs

    I'm having a similar situation- in fact, I'm trying to do away with the Shipping line on the PayPal page altogether. I've tried fiddling around with my PayPal profile settings, but no luck. Anyone have any insights? Thanks in advance.

  3. #3
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: PayPal IPN and Shipping Costs

    look,
    zen cart passes the total as one because paypal sucks, it works when it wants,

    the less you send the less it has to play with

    NO you cant turn the shipping line off in paypal....
    Zen cart PCI compliant Hosting

  4. #4
    Join Date
    Jun 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: PayPal IPN and Shipping Costs

    If you go to modules/payment/paypal.php

    about line 178 you will see a commented out line that says:
    HTML Code:
    zen_draw_hidden_field('no_shipping', MODULE_PAYMENT_PAYPAL_ADDRESS_REQUIRED) .
    simply uncomment it and change it to:
    HTML Code:
    zen_draw_hidden_field('no_shipping', '1') .
    and PayPal will no longer ask for shipping.

    @Merlinpa1969
    As you can see I'm new here so take what I have to say however you want. I have scanned over the forums trying to learn Zen Cart. I constantly have come away with the impression that the forums are not very friendly. I've finally realized that it is your posts that are making the forum an unfriendly place compared to other projects I have worked with. Almost everytime I see you post something it is negative or saying something like "That's impossible". Often the solutions are real simple but you tend to shut down all conversation with your posts and sidetrack the discussions on whether or not something is possible or not. With programming, just about anything is possible, you just need to know what it is you are doing. Most people coming to these forums don't realize that. I'm not sure if you program or not, but you may want to consider trying to change the tone of your messages. I'm not trying to offend you, just trying to share some insight from a person who is new to Zen Cart, but knows a little about programming.

  5. #5
    Join Date
    Jul 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: PayPal IPN and Shipping Costs

    You rock! I've been looking EVERYWHERE to find out how to turn of shipping line in Paypal.

 

 

Similar Threads

  1. v150 PayPal Not Showing Separate Product and Shipping Costs
    By RFCRecords in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 5 Jan 2013, 05:35 PM
  2. I'm using PayPal Express and PayPal IPN, should I remove PayPal IPN?
    By tj1 in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 3 Nov 2007, 05:20 AM
  3. Shipping Fee and Paypal IPN
    By ericny in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 9 May 2007, 05:55 AM
  4. Has PAYPAL IPN and $0.00 shipping been fixed since 1.2.25 to 1.3.37?
    By JLA in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 6 Feb 2007, 03:45 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
  •  
disjunctive-egg