Update your PayPal buttons before 29th March 2017.......

Lakshmana
Contributor
Contributor

 

================================

 

Updating thread title to reflect the new date of March 29th.

 

Please note that we have extended the go live date for this until March 29th. Any questions related to updating the buttons and HTML basics related to this upgrade please post here.

 

================================

 

 

 

HI,

I received this email from PayPal..

Update your PayPal buttons before 18 January 2017

In January, we'll be upgrading the PayPal integration you're using, Website Payments Standard, to:

  • Let your customers check out in a click with One Touch™
  • Ensure your checkout is always mobile-optimised
  • Deliver a simpler checkout design that’s consistent across desktop and mobile

To ensure you can continue to process payments once these upgrades have taken place, please update your PayPal buttons by 18 January 2017.

What do you need to do?

We’ve identified problems with at least one of your PayPal buttons so please check all your existing buttons for invalid or incorrect data.



--

I've been testing my buttons to see if theres a problem, so far all working (still many to go)
If PayPal has identified a problem cant they also mention where and what it is since they discovered it?

I see the PayPal documentation but so far I cant see my mistake..

Any help or advice on this most welcome.. i.e further info on this email and how to troubleshoot this..

Anthony


Login to Me Too
284 REPLIES 284

MTS_Andre
Moderator
Moderator

Hi, just to confirm that the fix has been released live.

Login to Me Too

crochetinc
Contributor
Contributor

pdarnett
Contributor
Contributor

Working on a friends site, he's getting the"things arent working" message after the cart checkout, i can't see whats wrongs as all the form fields seem to send correct data example below:

 

  1. notify_url:
  2. return:
  3. cancel_return:
  4. cmd:
    _cart
  5. upload:
    1
  6. business:
    infoxxxxxxxod.co.uk
  7. address_override:
    1
  8. first_name:
    Paul
  9. last_name:
    Aggtt
  10. email:
    Phkhhkett3gmail.com
  11. H_PhoneNumber:
    07773 518680
  12. address1:
    Douccill, Bowling Old Lane
  13. address2:
     
  14. city:
    Bradford
  15. zip:
    BD57JR
  16. currency_code:
    GB
  17. shipping:
    0
  18. shipping2:
    0
  19. custom:
    bdf25c8f981276f51d262cbfbfdc600d
  20. item_name_1:
    Spoon Hook
  21. quantity_1:
    1
  22. amount_1:
    8.00
Login to Me Too

MTS_Andre
Moderator
Moderator

Hi, if you require an address (address_override = 1) then you need to pass all the address variables to get the button work correctly. From the list you posted you are missing:

 

country

state

 

They both must be 2 characters long, uppercase, from the lists below:

 

country: https://developer.paypal.com/webapps/developer/docs/classic/api/country_codes/

state: https://developer.paypal.com/webapps/developer/docs/classic/api/state_codes/

Login to Me Too

dvdpearson
New Community Member

Hello,

 

I'm having issues checking out on my website since a few days. I got a "BAD_INPUT_ERROR" error flag in my PayPal URL but I can't figure out what is wrong with my POST request. Here is an example of my button code:

 

<form class="js-paypal-checkout-form" method="POST" action="https://www.paypal.com/cgi-bin/webscr">
	<input type="hidden" name="charset" value="utf-8">
	<input type="hidden" name="cmd" value="_cart">
	<input type="hidden" name="upload" value="1">
	<input type="hidden" name="business" value="********@*****.com">
	<input type="hidden" name="currency_code" value="USD">
	<input type="hidden" name="notify_url" value="************">
	<input type="hidden" name="bn" value="DragAndDropBuil_SP_EC">
	<input type="hidden" name="return" value="*******">
	<input type="hidden" name="address_override" value="1">
	<div class="js-order-item-list">
		<div>
			<div>
				<input type="hidden" name="item_name_1" value="Jason (New with defects)">
				<input type="hidden" name="amount_1" value="1.00">
				<input type="hidden" name="quantity_1" value="1">
			</div>
		</div>
	</div>
	<div class="js-shipping-address">
		<div>
			<input type="hidden" name="first_name" value="John">
			<input type="hidden" name="last_name" value="Smith">
			<input type="hidden" name="email" value="*********">
			<input type="hidden" name="address1" id="address1" value="460 Alamo St">
			<input type="hidden" name="address2" id="address2" value="First Floor">
			<input type="hidden" name="city" value="San Francisco">
			<input type="hidden" name="state" value="CA">
			<input type="hidden" name="country" value="US">
			<input type="hidden" name="zip" value="94100">
			<input type="hidden" name="night_phone_a" value="415">
			<input type="hidden" name="night_phone_b" value="444">
			<input type="hidden" name="night_phone_c" value="4444">
			<input type="hidden" name="custom" value="415-444-4444">
		</div>
	</div>

	<input type="hidden" name="custom" value="">
	<input type="hidden" name="no_shipping" value="2">
	<input type="hidden" name="item_name_2" value="Shipping">
	<input type="hidden" name="amount_2" value="33">
	<input type="hidden" name="quantity2" value="1">
	<input type="hidden" name="item_name_3" value="Tax">
	<input type="hidden" name="amount_3" value="2.9">
	<input type="hidden" name="quantity3" value="1">
	<input type="hidden" name="fallback_shipping_option_name_0" value="Shipping">
	<input type="hidden" name="fallback_shipping_option_amount_0" value="0">
	<input type="hidden" name="fallback_shipping_option_is_default_0" value="1">
	<input type="hidden" name="fallback_tax_amount" value="0">
</form>
Login to Me Too

pdarnett
Contributor
Contributor

Now I'm getting 'code=AMOUNT_ERROR' when i try to checkout from my cart. the variable is amount_1 and the value does not have any currency symbols in it.

Login to Me Too

MTS_Andre
Moderator
Moderator

In this case the issue is on the currency_code that must be GBP while I see in your variable as GB. You can find here the currency codes: https://developer.paypal.com/webapps/developer/docs/classic/api/currency_codes/

Login to Me Too

crochetinc
Contributor
Contributor

i see all these  messages about updating " BUTTONS "

 

i dont use Pay Pal very often, so i HAVE to ask

 

   WHAT THE HECK IS A  ' BUTTON "  ?

 

Login to Me Too

MTS_Martin
Moderator
Moderator

This is the most common use of a button: https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/buy_now_step_1/

 

 In short: It's a HTML Form with a submit button that'll send the data contained in the form to PayPal. The data itself describes what PayPal should do - i.e. how much to charge, item description, shipping amount, etc.

Login to Me Too

crochetinc
Contributor
Contributor

 

  i am very sorry, but i have NO IDEA what you just said.

 

 maybe being 75 years old has something to do with it

 

 thanks for trying

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.