Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › eStore button shortcode not linking to Paypal (or anywhere)
Tagged: button not working
- This topic has 4 replies, 2 voices, and was last updated 11 years, 2 months ago by admin.
-
AuthorPosts
-
September 19, 2013 at 6:29 am #9709iliaxiaMember
I’ve created my product in eStore and set up my payment gateway for Paypal, or so I thought. I have the “use Paypal” button checked and my email address entered (BTW, can I just replace this with my merchant ID number?)
The graphic with my customized button image looks great. The code, as if appears in OptimizePress editor is
[removed HTML code]
When I click on the live version, it just reopens the page. No sign of a Paypal checkout page.
What am I doing wrong? Thanks!
September 19, 2013 at 7:37 am #57846adminKeymasterThe HTML code looks broken. It is likely that you have some HTML errors on this page and it is messing up the button code.
Do the following:
1) Create a brand new WordPress page (this is just temporary)
2) Put the estore shortcode to add your purchase button to this page
3) Check this page and see if it works. If it does then you know that eStore is working correctly and your other page’s HTML code is messed up a little.
The way fix it is to go to the “Text” view of the editor, and look for HTML tags that haven’t been closed correctly. Or there maybe hidden HTML code sitting there messing it up.
September 19, 2013 at 6:41 pm #57847iliaxiaMemberSo I did what you suggested and just plugged [wp_eStore:product_id:1:end] into a blank page. The button shows up but once again when I click on it it just reloads the page. So I’m thinking my settings in WP eStore are off. Do I have to have the PDT token even though I have a PayPal pro account? I’m also setting a subscription button that doesn’t work.
I would just use PayPal code for this, but I’m integrating WP Affiliate and the whole reason I bought WP eStore was to take the headache out of integrating the two. I’m nervous about editing the Paypal code to include the affiliate code as well.
September 19, 2013 at 8:00 pm #57848iliaxiaMemberI’ve decided to jump into PayPal after all and I will uncheck the 3rd party box. I’ve tested the following code and it loads the Paypal page, but I wanted to confirm that this:
<form action=”https://www.paypal.com/cgi-bin/webscr” method=”post”><input type=”hidden” name=”cmd” value=”_xclick” />
<input type=”image” src=”http://fillyourholisticpractice.com/wp-content/uploads/2013/09/addtocart.png” />text blah blah
<input type=”hidden” name=”business” value=”ordersnjunk@hotmail.com” />
<input type=”hidden” name=”quantity” value=”1″ />
<input type=”hidden” name=”item_name” value=”Product Name” />
<input type=”hidden” name=”amount” value=”1.00″ />
<input type=”hidden” name=”no_shipping” value=”1″ />
<input type=”hidden” name=”return” value=”http://www.fillyourholisticpractice.com” />
<input type=”hidden” name=”cancel_return” value=”http://www.fillyourholisticpractice.com” />
<input type=”hidden” name=”notify_url” value=”http://www.fillyourholisticpractice.com/wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php” />
<input type=”hidden” name=”custom” value=”[wp_aff_custom_args]” />
Will draw the affiliate data from the cookie and there is no further customization needed on the [wp_aff_custom_args] tag.
September 20, 2013 at 12:21 am #57849adminKeymasterYou just needed to add the shopping cart on your page too. If you watch the video tutorials here you will know what to do:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-quick-setup-and-usage-video-tutorial-593
Alternatively, you can use eStore’s buy now type button which doesn’t require a shopping cart:
I think you should give this one a try before moving to raw PayPal button code.
-
AuthorPosts
- You must be logged in to reply to this topic.