Paypal 'buy button' linking to nothing

Monakas1
Contributor
Contributor

Hi, I've created a 'Buy now' button with a drop down menu with price option. I’ve done that by using the ‘Buy Now’ option instead of the ‘smart button’ option. The problems now are that it opens to a ‘Sorry that page doesn’t exist’ page and it opens on the same tab.

I would like a

-working link that clients can use to pay

-link that opens in a new tab please.

 

Can you help please?

Paypal button - not working.jpgPaypal page not found.jpg

 
 
 
 

 

 

 

Login to Me Too
5 REPLIES 5

Monakas1
Contributor
Contributor

Those are the codes that were made by the 'button maker' on the https://www.monakastell.com/healing/ webpage.

 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="ZWSDYEEKC6WXA">
<table>
<tr><td><input type="hidden" name="on0" value="Income based sliding scale exchange">Income based sliding scale exchange</td></tr><tr><td><select name="os0">
<option value="High income">High income £95.00 GBP</option>
<option value="Medium income">Medium income £80.00 GBP</option>
<option value="Low income">Low income £65.00 GBP</option>
<option value="Benefits/no income">Benefits/no income £50.00 GBP</option>
</select> </td></tr>
</table>
<input type="hidden" name="currency_code" value="GBP">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_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_GB/i/scr/pixel.gif" width="1" height="1">
</form>

 

AND THE OTHER ONE

 

 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="7TZ2M4FE4WG6N">
<table>
<tr><td><input type="hidden" name="on0" value="Income based sliding scale exchange">Income based sliding scale exchange</td></tr><tr><td><select name="os0">
<option value="High income">High income £135.00 GBP</option>
<option value="Medium income">Medium income £120.00 GBP</option>
<option value="Low income">Low income £105.00 GBP</option>
<option value="Benefits/no income">Benefits/no income £90.00 GBP</option>
</select> </td></tr>
</table>
<input type="hidden" name="currency_code" value="GBP">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_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_GB/i/scr/pixel.gif" width="1" height="1">
</form>

Login to Me Too

MTS_Chiranjeevi
Moderator
Moderator

Good day @Monakas1,

 

Thank you for posting to the PayPal community.

 

I have tried to reproduce the issue via https://www.monakastell.com/healing/ and could see that payment attempts failing due to error code "LACK_OF_BASIC_PARAMS".

 

Screenshot 2023-03-07 at 11.54.06 AM.png

 

LACK_OF_BASIC_PARAMS error will usually occurs when the button created with invalid parameters or additional HTML tags. 

 

I would suggest to please try to follow below steps and create a new PayPal button, please use the PayPal generated HTML code on your website. 

 

Login PayPal.com >> click on "settings icon" >> go to "Account settings" >> Website payments >> PayPal buttons >> select buttontype >> fill all the required details >> copy & paste the button code on your website with the help of your website developer. 

(Or)

Login PayPal.com >> go to direct link "https://www.paypal.com/buttons/" >> follow the above steps

 

You can also create custom buttons : https://developer.paypal.com/api/nvp-soap/paypal-payments-standard/integration-guide/sample-code-lan... 

 

Use the following samples as a starting point to create your own HTML payment button code:

Yes, to open the PayPal checkout in new tab, please pass the target="_blank" in your button code. 

 

Sample for reference: 

 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">

 

ImportantPayPal Website Payments Standard is legacy product.

 

We recommend merchants to integrate our latest PayPal Checkout (Smart button) product.

Please follow the below steps via your PayPal account. 

Login PayPal.com >> click on "settings icon" >> go to "Account settings" >> Website payments >> PayPal buttons >> select "Smart Buttons" button type >> fill all the required details >> copy & paste the button code on your website with the help of your website developer. 

(Or)

Login PayPal.com >> go to direct link "https://www.paypal.com/buttons/" >> follow the above steps


Guide link : https://developer.paypal.com/docs/checkout/standard/ 

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Monakas1
Contributor
Contributor

Hi,

 

I redid exactly the same things today and it worked!

 

FYI. To way to the buttons is Paypal.com > Business Tools > Paypal buttons

 

Thank you

Login to Me Too

Monakas1
Contributor
Contributor

Spoke too fast. It worked once then stopped. Keeps linking to '

Sorry,

that page doesn't exist.'

Login to Me Too

Monakas1
Contributor
Contributor

Still not working.

 

Those are still button links made from the Paypal buttons generator.

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.