Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Buy Now buttons
- This topic has 9 replies, 1 voice, and was last updated 14 years, 2 months ago by amin007.
-
AuthorPosts
-
October 3, 2010 at 10:09 am #1960AnonymousGuest
Hi. I created a Buy Now button [wp_eStore_buy_now_fancy id=blah] as explained through the tutorials provided and all works well.
When I or a client clicks on the Buy Now button, they are taken to a transaction page for payment to be made.
What happens is that the transaction page opens in the ‘same page’ not a ‘new window’.
I know how how to create a link and add the url and then have the link open in a new page or same window etc but with the tag [wp_eStore_buy_now_fancy id=blah] there is nowhere (that I can see) where to have the Buy Now button open in a ‘new page’.
The client pays and then has to reopen a new page and go to my home page again, as the previous page opened in a new window.
The PayPal transaction doesn’t have a ‘return to merchant’ link on it, so how can I have the Buy Now button open in a ‘new page’?
Thx
October 4, 2010 at 1:46 am #25038amin007ParticipantOpening new windows at transaction time is distracting. Ideally you want to give the customer a step by step flow similar to the following:
1. Customer clicks the buy button.
2. They land on the checkout page on PayPal.
3. They fill in the details and click “Pay”.
4. They get automatically redirected to your “Thank You” page or they are presented with the “Return to Your Site” link on PayPal which they can click to go back to your site.
From your explanation looks like step 4 is not happening? Few question to help you sort that out:
– Have you turned on “Auto Redirect” in your PayPal profile?
– Have you specified a “Thank You” or “Return URL” in the eStore’s settings menu?
With that said, if you still want to open the PayPal checkout page on a new window when the buy button is clicked then do the following tweak:
Open the “eStore_misc_functions.php” file and search for the following line:
$output .= '<object><form action="'.PAYPAL_LIVE_URL.'" method="post" onsubmit="return ReadForm1(this, 2);">';
Once you find it replace it with the following:
$output .= '<object><form action="'.PAYPAL_LIVE_URL.'" method="post" target="_blank" onsubmit="return ReadForm1(this, 2);">';
Basically we are just adding target=”_blank” property to the form which will open in a new window.
October 4, 2010 at 4:18 am #25039AnonymousGuestHi. I do have my Thank You page URL in the estore settings Return URL field, but my client didn’t get redirected back to my page. He received the emails relating to the Membership purchase, but not the redirection. Do you know why?
Ok, again I am getting confused and a little lost(it doesn’t take much!)
I set up different levels of memberships and created a thank you page (which I understand). The Thank You page content is geared towards the membership purchased (eg Thanks for purchasing our Gold membership etc!). This thank you page url is put into the estore, General Settings, Return URL area. Thats ok – I get that.
But when I am ready to sell digital Mp3 downloads as well (which will be soon)I want to create another Thank you page to say (thanks for purchasing digital downloads etc) as well as the client receiving an email with their encrypted link.
*How can I add this new Thank You page URL in estore settings Return URL when I already have that field filled with my other thank you page?
Also in your tutorials re selling digital downloads, you mention to have Auto Return Off but in your email answer above, you say to turn it on?
So let me get this right. Either I turn on Auto Return in PayPal (and the customer gets redirected to my website) or have the Return Url field in estore, general settings filled with my Thank You page URL (and the customer gets redirected to my Thank You page on my website, but not both? If I choose the latter, then I’m left with the same query above*
Sorry. Hope this hasn’t sounded too confusing!
Claude
October 4, 2010 at 6:23 am #25040AnonymousGuestPLEASE FORGET MY PREVIOUS EMAIL!!!!
Ok, this is what I’ve done.
My Thank You page URL is in the estore, general settings, Return URL field.
In Payment gateway settings in the Customize the Return Button Text, this area is blank, meaning the default text is “Return To Merchant”.
So this is what happened when my client purchased a Gold Membership.
1. He was taken to PayPal to pay
2. He paid and ended up on PayPal’s paid invoice page, showing him what he bought. There was a “Return To Merchant” button there. I asked him to click it and it went to a 404 page (and I’m guessing this is because the Auto return is ‘OFF’ in my PayPal settings area).
He was never redirected to my Thank You page, even though the URL is entered in the estore settings Return URL area.
3. He checked his emails and there was one there from me thanking him and asking him to click on this link to complete registration. He clicked on the link and he ended up on my Registration page. He registered and the system picked up that he haid paid, therefore it registered him as a Gold member.
Step 3 worked great except that he was never redirected to my thank you page.
If I delete my Thank you page and remove the “Return to Merchant’ button from the PayPal invoice, all will work fine. i just don’t understand why he doesn’t get redirected to my Thank you page. And when should he get redirected? When he lands on the PayPal paid page, should he have been automatically been redirected, or does he have to click something? That’s what I’m not sure of. Redirection when and how?
Thx again. Claude
October 5, 2010 at 1:11 am #25041amin007Participant“I asked him to click it and it went to a 404 page” – This is not because Auto Return is OFF. This is most likely because the URL you entered as your return URL does not exists. Have you tried to directly enter that URL in the browser and see what happens? It’s probably giving a 404.
So can you please share the URL that you have specified as the return URL in eStore’s generate settings page so I can have a look at that URL first?
October 5, 2010 at 6:35 am #25045amin007ParticipantOkay if PayPal is sending you to this page that means you have specified this Page as the return URL somewhere:
[midifilestore.com/gold-member-thank-you]
Now lets find out where that is and update that to the correct URL.
I have a feeling you specified this URL in the “Buy Now/Subscription Payment Specific” settings of the product and forgot about it.
Can you please tell me the following:
Edit the product that you have been testing out. Go to the section that says “Buy Now or Subscription Type Button Specific Settings” and tell me if you have any URL specified in the “Return URL” field.
October 5, 2010 at 6:42 am #25046AnonymousGuestBloody hell how good are you guys?? I don’t believe it! sensational. Yeah I must have put it there when I first started building the site.
Ok So Ive removed it. Now, do I turn Auto return on in paypal and put the thank you url in the auto return area?
Do I put the same url in estore settings, Return url field?
October 6, 2010 at 12:09 am #25047amin007ParticipantNow you can follow this video tutorial to setup the option where you display the download links on the “Thank You” page after a payment:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-instant-digital-product-delivery-499
October 6, 2010 at 2:11 am #25048AnonymousGuestHi. I notice in this video that the eStore shows version 4.3.6 and includes the PDT Identity Token box in the Payment Gateway Settings page. I don’t have this in my eStore settings. My eStore is version 4.1.0 but there have been no recent updates?
October 6, 2010 at 3:49 am #25049amin007ParticipantThis support documentation will help you with that:
-
AuthorPosts
- You must be logged in to reply to this topic.