If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3

Thread: Paypal display

  1. #1
    Junior Member
    Join Date
    May 2014
    Member #

    Paypal display

    my E com website have serveral items, I want the Paypal indicate only the whole total products name " food", not need indicated all the items, but now, paypal indicates the last item name, the amount is ok.
    so, I wish someone can help to make the whole products name " food".

    <form action="" method="post">
    <input type="hidden" name="cmd" value="_xclick">
    <input type="hidden" name="business" value="">
    <input type="hidden" name="item_name" value="food">
    <input type="hidden" name="currency_code" value="EUR">
    <input type="hidden" name="amount" value="<?php echo "$totalprice";?>">
    <input type="image" src="" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">


  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Not from USA
    Member #
    2783 times
    You'll want something like PayPal Express Checkout or Website Payments Pro to do what you want. The button will only take one item at a time.

    Alternatively, you could pass an order number as the item_name e.g. Order #12345.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  4. #3
    Join Date
    Mar 2015
    Member #
    3 times
    Put inside foreach loop to display all the products

    <input type="hidden" name="item_name_<?=$i?>" value="<?php echo $row['product_name']; ?>">
    <input type="hidden" name="quantity_<?=$i?>" value="<?php echo $qty; ?>">
    <input type="hidden" name="amount_<?=$i?>" value="<?php echo $price; ?>">

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 02:58 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: