Buy Now Button - BAD INPUT ERROR

autopartsw
New Community Member

Hi all,

 

We've recently been experiencing a problem with the Buy Now button on our website. 

 

When the buy now button is clicked, the following error appears at the following URL:

 

https://www.paypal.com/webapps/shoppingcart/error?flowlogging_id=f227643aadd31&code=BAD_INPUT_ERROR

 

Paypal:

Things don't appear to be working at the moment. Please try again later.

 

Here is the code we embed into our website:

 

<form action="https://www.paypal.com/au/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="landing_page" value="Billing">
<input type="hidden" name="business" value="">
<input type="hidden" name="currency_code" value="AUD">
<input type="hidden" name="return" value="http://www.autopartswholesalers.com.au/cart?wtCmd=checkoutstep&amp;wtStep=successful">  
<input type="hidden" name="notify_url" value="http://www.autopartswholesalers.com.au/?wtCmd=paypalipn">

 

Please advise what we need to do here to resolve the issue. 

 

Login to Me Too
5 REPLIES 5

picklebrownie
Contributor
Contributor

I am experiencing the same issue. I am using the WP Paypal Simple Shopping Cart plugin. 

Login to Me Too

tarjomeh
New Community Member

Hi everyone. I have the same problem. Did you find the solution?

Login to Me Too

MTS_Chiranjeevi
Moderator
Moderator

Good day @autopartsw / All,

 

Thank you for posting to the PayPal community.

 

I have reviewed below button code and see that "business" value is empty and no "amount" parameter passed. 

 

Please make sure to pass your PayPal ID or PayPal Primary/Confirmed email address as "business" value and "amount" parameter in the button code.

 

<input type="hidden" name="business" value="">

 

https://developer.paypal.com/api/nvp-soap/paypal-payments-standard/integration-guide/Appx-websitesta... 

 

https://developer.paypal.com/api/nvp-soap/paypal-payments-standard/integration-guide/Appx-websitesta... 

 

Sample HTML button codeView sample HTML code that shows various payment features and options for each PayPal payment button.

 

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

 

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

picklebrownie
Contributor
Contributor
For me, I set up the post in Postman to experiment with the post variables, and I discovered that the business email wasn't valid. I discovered this by inputting an email I KNEW would be valid, and the post worked properly. I fixed the issues with the other account and all works fine now.
Login to Me Too

Khandah
New Community Member

I have the same problem. I am just testing my app in a localhost.

How can'I solve that ? I have business and amount filled.

Thank you.

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.