cancel
Showing results for 
Search instead for 
Did you mean: 

Paypal button doesn't work properly

SOLVED
Highlighted
Contributor

Paypal button doesn't work properly

Hi, I've just made a paypal payment button so that my customers can pay without a paypal account.

But it always jumps to the login page once you click the button, so the payment cannot be done without an account.

Could anyone knows how I can solve this?

Thank you very much.

        

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
PayPal Employee

Re: Paypal button doesn't work properly

Hi @Tak0822

 

Good day! I hope all is well. Thank you for using community forum to be heard.

 

Depending on your settings, some editors (notably Dreamweaver and FrontPage 2003) automatically enumerate form variables in your HTML code. PayPal's server doesn't recognize these modified variables, causing the buttons to work incorrectly. For example, your buttons may go to the PayPal home page instead of a PayPal payment page.

Review the source code of the PayPal payment buttons to see if the variables have numbers appended to them (such as cmd2, business2, item_name2, submit2, etc.). This is called enumeration and is probably caused by your web editor. To fix this, edit your HTML code and remove the numeral after each variable.

Here's how to prevent Dreamweaver from enumerating your variables:

In Dreamweaver, click Edit.
Click Preferences.
Under General, deselect Rename Form Items When Pasting (for Dreamweaver MX, this option is located under Code Rewriting).


Here's how to prevent FrontPage 2003 from enumerating your variables:

In FrontPage 2003, click Tools.
Click Page Options.
Select the General tab.
Clear the Make ID Unique on Paste box.
Click OK.


If you don't use Dreamweaver or FrontPage 2003, consult your editor's help files to learn how to disable this setting. You can also manually remove the added numbers from the variable names in the HTML source code.

 

Kudos & Solved are greatly appreciated. 🙂
Stay Blessed!

View solution in original post

2 REPLIES 2
Highlighted
PayPal Employee

Re: Paypal button doesn't work properly

Hi @Tak0822

 

Good day! I hope all is well. Thank you for using community forum to be heard.

 

Depending on your settings, some editors (notably Dreamweaver and FrontPage 2003) automatically enumerate form variables in your HTML code. PayPal's server doesn't recognize these modified variables, causing the buttons to work incorrectly. For example, your buttons may go to the PayPal home page instead of a PayPal payment page.

Review the source code of the PayPal payment buttons to see if the variables have numbers appended to them (such as cmd2, business2, item_name2, submit2, etc.). This is called enumeration and is probably caused by your web editor. To fix this, edit your HTML code and remove the numeral after each variable.

Here's how to prevent Dreamweaver from enumerating your variables:

In Dreamweaver, click Edit.
Click Preferences.
Under General, deselect Rename Form Items When Pasting (for Dreamweaver MX, this option is located under Code Rewriting).


Here's how to prevent FrontPage 2003 from enumerating your variables:

In FrontPage 2003, click Tools.
Click Page Options.
Select the General tab.
Clear the Make ID Unique on Paste box.
Click OK.


If you don't use Dreamweaver or FrontPage 2003, consult your editor's help files to learn how to disable this setting. You can also manually remove the added numbers from the variable names in the HTML source code.

 

Kudos & Solved are greatly appreciated. 🙂
Stay Blessed!

View solution in original post

Highlighted
Contributor

Re: Paypal button doesn't work properly

Hi Ysa_,

 

Thank you very much for your detailed explanation, it worked!!

 

Best regards,

 

Takashi