- This topic has 1 reply, 1 voice, and was last updated 14 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Buy Now buttons and PayPal redirect…
Tagged: button, pay now button, PayPal
Hi, I would like to have the ‘Buy Now’ type buttons take the customers directly to PayPal for payment when clicked. Following the instructions in your video I did get it to work with the following shortcode/funciton:
[wp_eStore_buy_now_fancy id=1]
print_eStore_buy_now_button(1);
However I like the look & feel of some of the extra fancy layouts. I installed the additional plugin to allow for the use of additional shortcodes. So I tried it with the one below and when I click the button the page is just refreshing, it’s not taking me to PayPal:
[wp_eStore_fancy4 id=1]
Tried the function show_wp_eStore_fancy4(1,1) and it is also not working.
I was wondering if I’m trying the impossible to work here, perhaps the PayPal redirect only works with:
[wp_eStore_buy_now_fancy id=1]
print_eStore_buy_now_button(1);
Thanks for your help.
Got it figured out, I was passing as parameter the wrong button type:
show_wp_eStore_fancy4(1,$button_type=1)
Where for “Buy Now” button it should have been:
show_wp_eStore_fancy4(1,$button_type=2)
I guess what confused me is that the shortcode [wp_eStore_fancy4 id=1] doesn’t allow for passing a button type parameter, it defaults to button type 1 (which is not a Buy Now), so the only way for me to get this to work was to look through your code and find the function behind the shortcode, and then I realized that I have control over the button.
Cheers