Redirect link needs to be "renamed" after payment to PayPal

scottkb2000
Contributor
Contributor

How do I get PayPal to change the "name" of the redirect link??? Right now, after the buyer has paid for my product, they are given a link "return to xxxx", where xxxx is my email address. It is not intuitive to click on this link. I need the redirect link to say something like "Click here for purchased product". Any ideas out there???

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

PayPal_Frank
Administrator
Administrator

Artgrll81,

Great feedback. I'll pass that along to the Button Designer team. 🙂

 


@scottkb2000 wrote:

Frank, Just the man we want to see. Now, if you would put that "Administratorese" in English.....perhaps a step by step process, it would help tremendously. Thank you for responding. Scott


You got it. 🙂

 

To change this value while creating a new button:

- Visit the PayPal Button Designer:  Create a New Button

- Create the button like normal by filling in the Item name, amount, etc.

- Under Step 3: Customize advance features check the box next to "Add advanced variables"

- Type in "cbt=" in the Add advanced Variables box.  Immediately after the equals sign, type the text to replace "Return to Merchant" on the page after checkout is completed.  See image below:

 

advancedcbt.PNG

 

Then click "Create button" and the "Return to Merchant" button will be updated with the new text.  I also want to clarify that this will only change the "Return to Merchant" button after checkout is completed.  The "Cancel and Return to Merchant" link that is displayed during the checkout process cannot be changed.

 


Now if you want to add this to existing buttons you'll want to find the PayPal button code in your website HTML.  I can't provide instructions for that as it will depend on what program you are using to edit the code.  Once you find the button code, it should look something like this:

 

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="hosted button ID will show here">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

 

For reference, this is what code for a PayPal hosted button without any custom drop down menus looks like.  Your button code may look different if you are using encrypted buttons or buttons that are not hosted with PayPal but these instructions will still work:

 

We will want to add another <input> line to this code.  The <input> line needs to be pasted between the <form> and </form> lines. For cbt, we want to add this line:

 

<input type="hidden" name="cbt" value="Click Here for Purchased Product">

 the code should then look something like this:

 

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="hosted button ID will show here">
<input type="hidden" name="cbt" value="Click Here for Purchased Product">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

I chose to put the new line of code right after the <input> tag for the hosted_button_id but it doesn't matter as long as it's between <form> and </form>.   If you're using encrypted buttons (the button code will contain a big block of random characters), you'll want to put that line of code after the big encrypted block of code.

 

If you have a bunch of PayPal buttons on one page, I recommend seeing if the HTML editor for your website designing software can do a "find and replace". Most text editors have that option under the "Edit" menu. You could then set it to find this text:

 

<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">

 and replace it with the same code plus the new line of code:

 

<input type="hidden" name="cbt" value="Click Here for Purchased Product">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">

I chose to find that specific line of code as that is a tracking pixel that can be found with any type of button.

 

Then just replace all.  🙂

 

If you don't have a lot of buttons and directly manipulating the HTML is not a convenient option,  I would just recreate the buttons using the button designer and add the cbt to the advanced variables section.

 

 


 

If you're interested in Customizing other aspects of the PayPal Checkout Pages and how they look, I recommend reading this guide:

 

Merchant Setup and Administration Guide  go to page 29 for information about customizing the checkout pages.

 

You can customize things like background and border colors as well as add a custom logo.

 

 

 

- Frank

 

If you see a helpful post, please accept it as a solution or give the author kudos. 🙂 Thanks!

View solution in original post

Login to Me Too
12 REPLIES 12

Misty11
Advisor
Advisor

Hello scottkb2000,

 

Welcome to the Community Robot wink.

 

You can change the link directing the buyer to the proper link. What type of PayPal account do you have? If you have a Premier account  you may need to upgrade your account to change the email address. If you do not want to upgrade your account you can also add advanced variables, here is the Website Payments Standard guide if need you need further assistance.

 

If you decide to upgrade your PayPal account to a Business account here is how to update your account: log into your PayPal account, click Profile (under My Account), click My selling tools, click update Website preferences, scroll down a bit and you will see Return URL, go ahead and update the URL scroll to the bottom of the page and click save. 

 

Smiley HappyMisty

Login to Me Too

scottkb2000
Contributor
Contributor

This is a reply to Misty: Thanks for the response. Unfortunately, upgrading my account to Business or changing the URL are not solutions for this problem. The problem is not the link, but the verbiage beside the link (placed by PayPal) and written in stone, so to speak. The verbiage beside the "URL redirection link" says "Return to {Email Adress}". That is not something that I would consider proper verbiage (intuitive - making sense). I would like a choice as to what the verbiage beside the "URL redirect link" says. For instance, if I am buying a product, I would like it to say "This link will take you to the product you just purchased" or something similar. Not "Return to my email" alongside the "URL redirect link. Why can't the user be able to make their own verbiage for what is placed next to the "URL redirect link"? Thanks, again for the response. I know that there is no solution right now, but there should be enough flexibility in the system to allow the programmers to modify as needed!

Login to Me Too

Artgrrl81
Contributor
Contributor

I totally agree..."return to..." doesn't make any sense. PLEASE make this verbiage editable!

 

Cat Sad

Login to Me Too

PayPal_Frank
Administrator
Administrator

Hi Artgrrl81,

 

Welcome! 🙂

 

To change the text of the "Return to Merchant" button the buyer sees after PayPal checkout is completed, specify the "cbt" variable in the advanced button variables or HTML code for the PayPal button.

 

More customization variables can be found here:

HTML Variables for Displaying PayPal Checkout Pages

 

I hope this helps. 🙂

 

- Frank

https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_html_Appx_websi...
If you see a helpful post, please accept it as a solution or give the author kudos. 🙂 Thanks!
Login to Me Too

scottkb2000
Contributor
Contributor

Frank, Just the man we want to see. Now, if you would put that "Administratorese" in English.....perhaps a step by step process, it would help tremendously. Thank you for responding. Scott

Login to Me Too

Artgrrl81
Contributor
Contributor
I know about the advanced variables, but this seems so common a need/want that I'm suggesting you folks make it a standard question....I mean why make it a coded element. You alienate normal users who aren't coders....can you add it as a question when you create a button??
Login to Me Too
Solved

PayPal_Frank
Administrator
Administrator

Artgrll81,

Great feedback. I'll pass that along to the Button Designer team. 🙂

 


@scottkb2000 wrote:

Frank, Just the man we want to see. Now, if you would put that "Administratorese" in English.....perhaps a step by step process, it would help tremendously. Thank you for responding. Scott


You got it. 🙂

 

To change this value while creating a new button:

- Visit the PayPal Button Designer:  Create a New Button

- Create the button like normal by filling in the Item name, amount, etc.

- Under Step 3: Customize advance features check the box next to "Add advanced variables"

- Type in "cbt=" in the Add advanced Variables box.  Immediately after the equals sign, type the text to replace "Return to Merchant" on the page after checkout is completed.  See image below:

 

advancedcbt.PNG

 

Then click "Create button" and the "Return to Merchant" button will be updated with the new text.  I also want to clarify that this will only change the "Return to Merchant" button after checkout is completed.  The "Cancel and Return to Merchant" link that is displayed during the checkout process cannot be changed.

 


Now if you want to add this to existing buttons you'll want to find the PayPal button code in your website HTML.  I can't provide instructions for that as it will depend on what program you are using to edit the code.  Once you find the button code, it should look something like this:

 

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="hosted button ID will show here">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

 

For reference, this is what code for a PayPal hosted button without any custom drop down menus looks like.  Your button code may look different if you are using encrypted buttons or buttons that are not hosted with PayPal but these instructions will still work:

 

We will want to add another <input> line to this code.  The <input> line needs to be pasted between the <form> and </form> lines. For cbt, we want to add this line:

 

<input type="hidden" name="cbt" value="Click Here for Purchased Product">

 the code should then look something like this:

 

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="hosted button ID will show here">
<input type="hidden" name="cbt" value="Click Here for Purchased Product">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

I chose to put the new line of code right after the <input> tag for the hosted_button_id but it doesn't matter as long as it's between <form> and </form>.   If you're using encrypted buttons (the button code will contain a big block of random characters), you'll want to put that line of code after the big encrypted block of code.

 

If you have a bunch of PayPal buttons on one page, I recommend seeing if the HTML editor for your website designing software can do a "find and replace". Most text editors have that option under the "Edit" menu. You could then set it to find this text:

 

<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">

 and replace it with the same code plus the new line of code:

 

<input type="hidden" name="cbt" value="Click Here for Purchased Product">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">

I chose to find that specific line of code as that is a tracking pixel that can be found with any type of button.

 

Then just replace all.  🙂

 

If you don't have a lot of buttons and directly manipulating the HTML is not a convenient option,  I would just recreate the buttons using the button designer and add the cbt to the advanced variables section.

 

 


 

If you're interested in Customizing other aspects of the PayPal Checkout Pages and how they look, I recommend reading this guide:

 

Merchant Setup and Administration Guide  go to page 29 for information about customizing the checkout pages.

 

You can customize things like background and border colors as well as add a custom logo.

 

 

 

- Frank

 

If you see a helpful post, please accept it as a solution or give the author kudos. 🙂 Thanks!
Login to Me Too

scottkb2000
Contributor
Contributor

Frank, you're fantastic. I just changed the raw html as advised and published. Now, I just wait to see if it works. Thanks, so much, Scott.

Login to Me Too

Artgrrl81
Contributor
Contributor
Thx Frank...just to be sure...all ready created buttons, that are saved in PayPal and embedding on my site (I have quite a few)...just to be clear: I can put the cbt= in the advanced field, save, and it will automatically update my embedded buttons? Also, please suggest to the 'button people' there really needs to be a testing mode. I'm really publishing to blind faith until a customer tries to use my "system"....kinda unprofessional for me if I can't check mistakes ahead of time....
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.