Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Nov 2007
    Posts
    8
    Plugin Contributions
    0

    Idea or Suggestion Paypal IPN check out always shows 0.0

    I new to zen cart and i'm setting up a site.
    While testing I found, paypal IPN check out is showing 0.0 always....

    <input type="hidden" name="amount" value="0.00" />
    <input type="hidden" name="shipping" value="0.00" />
    <input type="hidden" name="tax" value="0.00" />
    <input type="hidden" name="tax_cart" value="0.00" />

    Looking for help from guys here.......

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Paypal IPN check out always shows 0.0

    What is your URL?
    What currencies do you have configured?
    What currency is selected in your PayPal module?

    https://www.zen-cart.com/tutorials/index.php?article=96
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Nov 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Paypal IPN check out always shows 0.0

    Hi,
    Thanks for quick reply.
    URL is http://bubble gum goods.com
    Currency is USD and is configured correctly in admin.
    I checked the manual and tried with all the steps.
    Still the problem persists.

    Thanks for the help

    Thanks

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Paypal IPN check out always shows 0.0

    Does this happen if you enable and test using check/money-order as payment module?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Nov 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Paypal IPN check out always shows 0.0

    The Check/Money Order option is working fine.

    The price amount is being properly displayed in the paypal IPN checkout page"Step 3 of 3 - Order Confirmation".
    But when click to check out. In the paypal window its showing 0.0
    i.e. the hidden data (price) being sent is showing zero.

    The code shows like
    Code:
        $optionsTrans = array(
                       'currency_code' => $my_currency,
                       'paypal_order_id' => $paypal_order_id,
                       //'invoice' => '',
                       'item_name' => MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE,
                       'item_number' => 'Store Receipt',
                       //'num_cart_items' => sizeof($order->products),
                       'upload' => sizeof($order->products),
                       'amount' => number_format($this->transaction_amount, $currencies->get_decimal_places($my_currency)),
                       'shipping' => '0.00',
                        );
    Will the change of variable affect the price??

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Paypal IPN check out always shows 0.0

    Quote Originally Posted by bhavi View Post
    Will the change of variable affect the price??
    Which variable?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Nov 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Paypal IPN check out always shows 0.0

    //'invoice' => '',
    'item_name' => MODULE_PAYMENT_PAYPAL_PURCHASE_DECRIPTION_TITLE,
    'item_number' => 'Store Receipt',
    //'num_cart_items' => sizeof($order->products),
    'upload' => sizeof($order->products),

    Commented out
    //'invoice' => '',

    changed
    //'num_cart_items' to
    'upload'

    Not sure if its done automatically [;)]

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Paypal IPN check out always shows 0.0

    I'm not sure why you'd be doing that.
    But, no, I wouldn't expect that to change the values to 0.

    What *other* changes are you making to the module, and why?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Nov 2007
    Posts
    8
    Plugin Contributions
    0

    Default Re: Paypal IPN check out always shows 0.0

    Other change is

    $optionsShip = array(
    //'address_override' => MODULE_PAYMENT_PAYPAL_ADDRESS_OVERRIDE,
    'no_shipping' => MODULE_PAYMENT_PAYPAL_ADDRESS_REQUIRED,
    );

    These changes were done by other programmer who is no more available.
    No idea why these changes were....

  10. #10
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Paypal IPN check out always shows 0.0

    When did the problems start happening?
    When were the changes made?
    What happens if you undo the changes?
    Were there problems "before", and your programmer was following instructions from you to fix something?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. 139 paypal express check out final check out page "blank"
    By imen in forum PayPal Express Checkout support
    Replies: 8
    Last Post: 31 Dec 2013, 04:57 PM
  2. Downloadable product still shows shipping page at check out
    By goodridm in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 5 Feb 2011, 06:42 PM
  3. Paypal IPN always item number 1, remembers very old sessions, order doesn't appear.
    By kelvyn in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 4 Mar 2007, 08:47 PM

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