Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Adding Paypal HTML Variables

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Adding Paypal HTML Variables

  • This topic has 3 replies, 2 voices, and was last updated 14 years, 1 month ago by amin007.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 3, 2011 at 10:59 pm #3104
    cheryl
    Member

    What is the best way to add Paypal HTML variables to the Buy Now Buttons? Is there a way we can enter it within the Plugin Settings or do we need to hack the HTML and insert hidden form variables?

    https://www.paypalobjects.com/IntegrationCenter/ic_std-variable-ref-buy-now.html

    April 4, 2011 at 1:16 am #31036
    amin007
    Participant

    The eStore plugin reads the product details that you added and then creates the HTML variables necessary to submit it to PayPal. You should not need to add HTML variables yourself if you are using eStore.

    April 4, 2011 at 11:39 pm #31037
    cheryl
    Member

    Right… but I want to pass product details that eStore doesn’t allow me to configure.

    On Item Information, I want to pass on0 = “More info on my product”

    On PayPal Payment Pages, I want to pass cancel_return =”http://myurl.com”, cpp_header_image = “http://myurl.com/myimage.jpg”, image_url = “”, no_note =1, no_shipping=1, etc.

    I’m getting these from this URL: https://www.paypalobjects.com/IntegrationCenter/ic_std-variable-ref-buy-now.html#HTMLVariablesOnlyforBuyNowButtons

    Let me know if this is possible and what you recommend. Otherwise, I may use some javascript to hack this and include… however, I would prefer to do it the way in which you guys prefer.

    April 5, 2011 at 1:09 am #31038
    amin007
    Participant

    Open the “eStore_misc_functions.php” file and look inside the following function:

    function print_eStore_buy_now_button

    This function creates the “Buy Now” button so if you follow the code you will see that its adding a lot of HTML variables there. Add yours as you see fit.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ