Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Other Short codes or URL codes for Gateway Specific Buy Now type Buttons
- This topic has 7 replies, 3 voices, and was last updated 11 years, 6 months ago by GWslade.
-
AuthorPosts
-
May 6, 2013 at 4:34 pm #9042GWsladeMember
I use Buy Now Buttons to shorten the shopping experience, IE Skip the Shopping cart. My users rarely buy multiple products at one time.
I would like to use Authorize.net for my payment gateway rather than PayPAl, but I can only find one Buy Now Button short code to force a payment gateway other than PayPal.
[wp_eStore_buy_now_for_specific_gateway id=”1″ gateway=”authorize”]
I would like to use, the fancy options, (Extra short codes) and also the URL for email and other doins. (I use geolocation to have country specific domains, but I want to pull from one inventory for issuing serial numbers with orders.) I also have a Java Script tool which helps the user choose a product, I use the URL buy now link in that tool.
A gateway specific URL link would be the best option.
Thanks in advance.
May 7, 2013 at 5:40 am #55458adminKeymasterYou mean, you want to use something like the following option for a particular payment gateway?
May 7, 2013 at 5:14 pm #55459GWsladeMemberYes
I am actually using the Buy Now link, but it only goes to PayPal, I would like to use an Authorize.net compatible gateway.
Thanks
May 8, 2013 at 3:27 am #55460adminKeymasterI understand. Other gateways do not have an API like the PayPal Buy Now button option so we do it slightly differently. I will add this option to that text link buy now feature of eStore plugin.
May 8, 2013 at 7:41 am #55461GWsladeMemberAdmin
As I was testing today, to see if there were other ways around this, I found the “add to cart” URL link would not add to cart, from a different domain, and inside the domain it would do a buy now process with paypal. Real strange.
I am not sure what is the best way to demonstrate this testing to you. If I can send you a private message, I can set up a sample in some dummy domains and sites I have.
May 8, 2013 at 11:15 pm #55462wpCommerceModerator“add to cart” URL link would not add to cart, from a different domain
Do you mean that when you follow the link to your site the shopping cart is still empty?
Can I take a look at the text link you are using?
May 9, 2013 at 5:13 pm #55463GWsladeMemberI am experiencing very strange results.
I am working on three different domains, My test domain is discountsim.ca
my two production domains are travelersmobile.com and travelersmobile.ca
there are products on three pages (Unlock, mobile-data & plans)
the shopping cart is on the bottom of the plans page
There is a java script tool on the plan page which has the url link “http://discountsim.ca/?wp_eStore_add_to_cart=4” pointing to discountsim.ca
I use the link in a button so the java script creates this.
<input onclick=”OpenURL(http://discountsim.ca/?wp_eStore_add_to_cart=4)” type=”button” style=”george” class=”george” id=”btnBuy” name=”btnBuy” value=”Add to Cart”/>
everything works perfect in the test site, discountsim.ca. (I did get the link problem sorted out, I was not putting in “http://” before the domain, all working fine now on the links. even crossing domains.)
When I tried to move the same function to the two production sites, with virtually everything the same,
Identical plugins loaded and activated,
Identical page source code
identical products in product table
etc.
The following functions no longer work.
The eStore add to cart button does not redirect or refresh the shopping cart anchor on the plans page which is set as the product page in the eStore settings. (it does add the item to the cart.)
May 9, 2013 at 10:30 pm #55464GWsladeMemberI found the one plugin that was different, I deactivated it, and now the add to cart works.
The thing is the offending plugin was the eStore Advanced Variations UI
All working now, I can live without the advanced UI.
-
AuthorPosts
- You must be logged in to reply to this topic.