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

eStore Extra Shortcodes : Bug report (and correction) on Buy now text link

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Addon Related › eStore Extra Shortcodes : Bug report (and correction) on Buy now text link

Tagged: buy now, download link, extra eStore shortcodes

  • This topic has 6 replies, 5 voices, and was last updated 9 years ago by Michael DeLuca.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • February 28, 2015 at 10:29 am #12290
    nlarzill
    Member

    Hi, I found a bug in the eStore Extra Shortcodes plugin v4.9.4 and I propose a correction to help the community :

    Use case :

    When I use a Buy now text link (with a specific gateway) like this :

    [http://domain.com?wp_eStore_buy_now=2&gateway=stripe]

    The product name is never passed to the Stripe payment gateway.

    All other parameters (product id, price) are OK.

    I found the reason of the issue in the Extra Shortcodes plugin : the parameter estore_product_name is not added in the query args.

    I suggest the following correction (it works for me) :

    File : shortcode_include2.php

    Function : estore_extra_handle_gateway_specific_buy_now_request()

    Correction : add the following line in the $query_args variable :

    “estore_product_name” => $args,

    That’s it !

    Regards,

    Nicolas

    March 2, 2015 at 2:47 am #68848
    wpCommerce
    Moderator

    Hi, Thanks. We have updated the eStore extra shortcode addon. Please download a new copy now.

    March 8, 2016 at 10:04 pm #68849
    andrea845
    Spectator

    Hi I have a problem I can not solve, can you help me?

    I’m trying to create a “buy now” button in html, using the formula in a video: “www.mysite.com/?wp_eStore_buy_now=2”

    However, it does not work. What happens is a redirect to my home page, and not in the paypal payment page.

    Yet with the shortcode on wordpress works.

    What should I do?

    What could be the problem?

    Thank you

    March 9, 2016 at 3:12 am #68850
    admin
    Keymaster

    Do you have the extra eStore shortcodes installed on your site?

    https://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460

    Share the full proper link of your site so we can test the behavior of that link.

    March 10, 2016 at 8:58 pm #68851
    andrea845
    Spectator

    Solved! I had to install the addon.

    Thanks for support

    May 25, 2016 at 1:48 pm #68852
    Michael DeLuca
    Participant

    Sorry if this is the wrong thread to post this in, but I have a question about the Buy Now and Add to Cart links in the eStore Extra Shortcodes plugin: can they be used with digital product variations? What I’m looking for is something like this:

    example.com/cart?ap_id=my_affiliate_id&wp_eStore_add_to_cart=XXXX&wp_eStore_digital_variation=PDF

    The way it appears to be working now (IE not working), the product gets added to the user’s cart, and they can check out successfully, but the order email fails to include a download link. It just has a blank line where the link would normally be.

    Thanks for your help.

    Michael

    May 25, 2016 at 2:41 pm #68853
    Michael DeLuca
    Participant

    I may have figured out the answer to my own question. In case this is of use to anybody else: looking through the plugin code, it appears that the additional URL query parameter I’m looking for is “&c_input=PDF”. So an add to cart link from an external site, using the Extra Shortcodes plugin and a product with a digital variation, would look like this:

    example.com/cart?ap_id=my_affiliate_id&wp_eStore_add_to_cart=XXXX&c_input=PDF

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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