Title: BAD_INPUT_ERROR
Last modified: March 21, 2023

---

# BAD_INPUT_ERROR

 *  Resolved [sonnshine](https://wordpress.org/support/users/sonnshine/)
 * (@sonnshine)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/bad_input_error-3/)
 * I’ve installed WP Simple Shopping Cart, and I thought I had followed the configuration
   and setup steps correctly. I’ve verified the email address is correct. The most
   common culprit from searching seems to be spaces, but when I look at the code
   behind the button, I am not seeing any…
   I would be grateful if anyone could see
   what I am obviously missing. The code below is the result of selecting a book
   and the page, and attempting to checkout. Any book seems to do it. I’m on 4.6.4,
   the most current version. Thank you.
 *     ```wp-block-code
       <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
       	            <input type="hidden" name="item_name_1" value="Rapids Mainstream">
       	            <input type="hidden" name="amount_1" value="25.00">
       	            <input type="hidden" name="quantity_1" value="1">
       	            <input type="hidden" name="item_number_1" value="">
   
       	            <input type="hidden" name="item_name_2" value="Traces On Tracks">
       	            <input type="hidden" name="amount_2" value="25.00">
       	            <input type="hidden" name="quantity_2" value="1">
       	            <input type="hidden" name="item_number_2" value="">
       	        <input type="hidden" name="shipping_1" value="7.50"><input type="hidden" name="no_shipping" value="2"><input type="image" src="https://sunbowfarm.org/wp-content/plugins/wordpress-simple-paypal-shopping-cart/images/paypal_checkout_EN.png" name="submit" class="wp_cart_checkout_button wp_cart_checkout_button_1" style="" alt="Make payments with PayPal - it\'s fast, free and secure!"><input type="hidden" name="return" value="https://sunbowfarm.org?reset_wp_cart=1"><input type="hidden" name="cancel_return" value="https://sunbowfarm.org"><input type="hidden" name="notify_url" value="https://sunbowfarm.org/?simple_cart_ipn=1">
                   <input type="hidden" name="business" value="the_correct_email_address">
                   <input type="hidden" name="currency_code" value="USD">
                   <input type="hidden" name="cmd" value="_cart">
                   <input type="hidden" name="upload" value="1">
                   <input type="hidden" name="rm" value="2">
                   <input type="hidden" name="charset" value="utf-8">
                   <input type="hidden" name="bn" value="TipsandTricks_SP"><input type="hidden" name="custom" value="wp_cart_id%3D641%26ip%3D149.137.190.63"></form>
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbad_input_error-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/bad_input_error-3/#post-16582631)
 * Hi, can you share the shortcodes you are currently using. This will help me find
   out why this is happening in your site. Also it is important to know that working
   with the plain text editors works best when adding shortcodes.
 * Kind regards.
 *  Thread Starter [sonnshine](https://wordpress.org/support/users/sonnshine/)
 * (@sonnshine)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/bad_input_error-3/#post-16582659)
 * The Add to Cart buttons use this short code
   [wp_cart_button name=”Traces On Tracks”
   price=”25.00″ shipping=”2.50″]Then I have a widget block (Divi Theme) with this
   shortcode[always_show_wp_shopping_cart]The cart loads and displays, I can clear
   it, but when I click on the PayPal button, I get the errorAlso, FWIW, I tried
   to also use a checkout page, that was not Divi edited, just the [show_wp_shopping_cart]
   shortcode, and same error.
    -  This reply was modified 3 years, 3 months ago by [sonnshine](https://wordpress.org/support/users/sonnshine/).
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/bad_input_error-3/#post-16582757)
 * Hi, I checked the URL you shared above and it was displaying on my end the actual
   shortcodes and not the button and or the cart. In regards to your error message,
   can you carry out a plugin/theme conflict test. Also make sure the double quotes
   are correct as per the shortcode below.
 *     ```wp-block-code
       [wp_cart_button name="Traces On Tracks" price="25.00" shipping="2.50"]
       ```
   
 * Kind regards.
 *  Thread Starter [sonnshine](https://wordpress.org/support/users/sonnshine/)
 * (@sonnshine)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/bad_input_error-3/#post-16585180)
 * I’m sorry, I disabled that plugin yesterday evening to try some other workarounds.
   It has been re-enabled now, if you need/want to inspect the elements. 
   I have
   disabled all other plugins, and swapped themes, and the error persists, so it
   does not seem to be a theme or plugin conflict. Simple Shopping Cart is also 
   listed by Elegant Themes, the Divi creator as an excellent choice for use with
   that theme, so unless some update since that was written has changed how they
   interact, that also supports the idea it is not a theme conflict. My initial 
   research into this problem discovered many cases where an extra space, wrong 
   quotes (single or tic marks instead of double quotes) currency symbol or other
   excess characters were used, including some trailing spaces. I have not been 
   able to locate any place where an obvious typo can be located.
 *  Thread Starter [sonnshine](https://wordpress.org/support/users/sonnshine/)
 * (@sonnshine)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/bad_input_error-3/#post-16585199)
 * Ah – I believe I have puzzled it out. I suspect the customer does not have a 
   business level PayPal account. When I change the email address to use a different
   email address, which I know has a Business account, it works as intended. My 
   suspicion is the business owner account is just a personal account. I will verify
   that with him today and if it is the case, consider this issue put to bed!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘BAD_INPUT_ERROR’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-simple-paypal-shopping-cart/assets/icon-128x128.
   png?rev=2722490)
 * [Simple Shopping Cart](https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-simple-paypal-shopping-cart/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-simple-paypal-shopping-cart/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [sonnshine](https://wordpress.org/support/users/sonnshine/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/bad_input_error-3/#post-16585199)
 * Status: resolved