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

pgtips
Contributor
Contributor

Hello,

 

I hope someone can assist, I recently noticed problems which seem to be due to changes at paypal end. I was advised if it was static html to use this page to resolve

My Payments Standard integration isn't processing transactions. What should I do?

but mine are not static, so I followed the developer route and have this from the form data bit

cmd:_cart
business:not permitted email removed
upload:2
currency_code:GBP
item_name_1:1
amount_1:5
quantity_1:1
return:http://www.ingatestoneclassic.co.uk/success.php?pay=done
cancel_return:http://www.ingatestoneclassic.co.uk/index.php?pay=payment_not_clear

but I don't know what to do next or what it is telling me.

any help appreciated. You can see the url for the website above, its a charity event, if you want to follow the flow for real click on "cars register here" link and I will reimburse you.

 

fingers xd

 here is my code

	<form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="frm">
		<input type="hidden" name="cmd" value="_cart">
		<input type="hidden" name="business" value="<?php echo $row[account_real];?>">
		<?php
		}
		?>	
		<input type="hidden" name="upload" value="2">		
		<input type="hidden" name="currency_code"value="GBP">   
		<input type="hidden" name="item_name_1" value="1">
		<input type="hidden" name="amount_1"  value="<?php print $_SESSION['amount'];?>">
		<input type="hidden" name="quantity_1" value="1">
		<input type="hidden" name="return" value="<?php echo $row[domain];?>success.php?pay=done">
		<input type="hidden" name="cancel_return" value="<?php echo $row[domain];?>index.php?pay=payment_not_clear">				
		</form>

and on another part of the flow

<section>
           <label class="label"><font size="3">Registration/Donation Amount:   £5 = 5 raffle tickets, £3 = 3 etc</font> <font color="red">*</font></label>
<div class="row">
    <div class="col-xs-2">
            <div class="inline-group">
                <label class="radio"><input type="radio" name="price"  value="3" onclick="GenericAjaxFunction('test.php?price='+this.value,'price_list',0); return pricer()"><i class="rounded-x"></i> Vehicle - £3</label>
            </div>
    </div>
    <div class="col-xs-2">
            <div class="inline-group">
                <label class="radio"><input type="radio" name="price"  value="5" onclick="GenericAjaxFunction('test.php?price='+this.value,'price_list',0); return pricer()"checked ><i class="rounded-x"></i> Vehicle - £5</label>
            </div>
    </div>
    <div class="col-xs-2">
            <div class="inline-group">
                <label class="radio"><input type="radio" name="price"  value="10" onclick="GenericAjaxFunction('test.php?price='+this.value,'price_list',0); return pricer()"><i class="rounded-x"></i> Vehicle - £10</label>
            </div>
    </div>
    <div class="col-xs-2">
            <div class="inline-group">
                <label class="radio"><input type="radio" name="price"  value="20" onclick="GenericAjaxFunction('test.php?price='+this.value,'price_list',0); return pricer()"><i class="rounded-x"></i> Vehicle - £20</label>
            </div>
    </div>
    <div class="col-xs-2">
            <div class="inline-group">
                <label class="radio"><input type="radio" name="price"  value="30" onclick="GenericAjaxFunction('test.php?price='+this.value,'price_list',0); return pricer()"><i class="rounded-x"></i> Vehicle - £30</label>
            </div>
    </div>
</div>
        </section>

<div id="price_list"></div>

</fieldset>
<footer>
<div id="div2"></div>
    <a href="register_carsdetails.php"><button type="button" class="btn-u btn-u-default">Previous Page</button></a>
    <button type="submit" name="sub" value="submit" class="btn-u btn-u-default">Register Now</button>
</footer>
</form>
Login to Me Too

pgtips
Contributor
Contributor

Hi,

not sure where my post went so hope this isn't a double.

My checkout for carity website is not working but I can't figure why so any help appreciated on this

 

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" name="frm">
		<input type="hidden" name="cmd" value="_cart">
		<input type="hidden" name="business" value="<?php echo $row[account_real];?>">
		<?php
		}
		?>	
		<input type="hidden" name="upload" value="2">		
		<input type="hidden" name="currency_code"value="GBP">   
		<input type="hidden" name="item_name_1" value="1">
		<input type="hidden" name="amount_1"  value="<?php print $_SESSION['amount'];?>">
		<input type="hidden" name="quantity_1" value="1">
		<input type="hidden" name="return" value="<?php echo $row[domain];?>success.php?pay=done">
		<input type="hidden" name="cancel_return" value="<?php echo $row[domain];?>index.php?pay=payment_not_clear">				
		</form>

from developer page webscr
cmd:_cart
business:info at ingatestoneclassic.co.uk
upload:2
currency_code:GBP
item_name_1:1
amount_1:5
quantity_1:1
return:http://www.ingatestoneclassic.co.uk/success.php?pay=done
cancel_return:http://www.ingatestoneclassic.co.uk/index.php?pay=payment_not_clear
Login to Me Too

pgtips
Contributor
Contributor

and the values are from this piece of code

<section>
           <label class="label"><font size="3">Registration/Donation Amount:   £5 = 5 raffle tickets, £3 = 3 etc</font> <font color="red">*</font></label>
<div class="row">
	<div class="col-xs-2">
            <div class="inline-group">
            	<label class="radio"><input type="radio" name="price"  value="3" onclick="GenericAjaxFunction('test.php?price='+this.value,'price_list',0); return pricer()"><i class="rounded-x"></i> Vehicle - £3</label>
            </div>
	</div>
	<div class="col-xs-2">
            <div class="inline-group">
            	<label class="radio"><input type="radio" name="price"  value="5" onclick="GenericAjaxFunction('test.php?price='+this.value,'price_list',0); return pricer()"checked ><i class="rounded-x"></i> Vehicle - £5</label>
            </div>
	</div>
	<div class="col-xs-2">
            <div class="inline-group">
            	<label class="radio"><input type="radio" name="price"  value="10" onclick="GenericAjaxFunction('test.php?price='+this.value,'price_list',0); return pricer()"><i class="rounded-x"></i> Vehicle - £10</label>
            </div>
	</div>
	<div class="col-xs-2">
            <div class="inline-group">
            	<label class="radio"><input type="radio" name="price"  value="20" onclick="GenericAjaxFunction('test.php?price='+this.value,'price_list',0); return pricer()"><i class="rounded-x"></i> Vehicle - £20</label>
            </div>
	</div>
	<div class="col-xs-2">
            <div class="inline-group">
            	<label class="radio"><input type="radio" name="price"  value="30" onclick="GenericAjaxFunction('test.php?price='+this.value,'price_list',0); return pricer()"><i class="rounded-x"></i> Vehicle - £30</label>
            </div>
	</div>
</div>
        </section>
Login to Me Too

pgtips
Contributor
Contributor

would this be my problem?

    <input type="hidden" name="upload" value="2">

I changed it to 1 and it seems to work again, but no idea what I have done ?

 

Login to Me Too

GarKir
Contributor
Contributor

I send out a web payment link from our system so a customer can make a payment. I include parameters such as the amount, item name and item number along with a custom parameter. When I get back the IPN notice I know exactly who paid for what.

 

This was working in a sandbox account last February but a project delay meant we are only looking at going live soon. This prompted me to do some additional testing and it no longer works. As others have mentioned in this tread I received no email from PayPal relating to updating buttons.

 

The URL I use to test is: 

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=C97JLCWVX29UQ&amount=24...

 

The problem is, only the item_name parameter is being picked up and usualy on first loading the URL I get an "Internal Server Error" page. Once refreshed it loads the payment page but is asking the user for the payment amount. I have gone through the documentation and am pretty sure the variable names and values are valid. I've tried removing the %20 in the URL but it makes no difference.

 

The button I created to get the URL seems find and is setup the way I want it. I also tried setting up a new button but I get the same result.

 

Please advise as I cannot have users randomly entering an amount.

 

Thanks,

 

Garry

Login to Me Too

MTS_Ciaran
Moderator
Moderator

Hey, so the issue with this is that you are using a hosted button ID and trying to pass variables in the same URL, you can use either, but not both together try something like this instead:

 

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick&business=maceocc2@gmail.com&amount=24.6&it...

 

But note the 500 internal errors are being worked on on our side as well 😉

Login to Me Too

GarKir
Contributor
Contributor

MTS_Ciaran

 

Thank you for your reply. Yes, the suggested URL works and I'm happy to use the account email going forward. Strange though, it did previously work using a button ID but the new way will save me having to setup buttons. I still get the "Internal Server Error" on first load so I look forward to hearing from you after you've checked this out.

 

Thanks,

 

Garry

Login to Me Too

Anpeip-IDF
Contributor
Contributor

Hi,

 

I send an url as well and the "amout" value is no more understood. I do not understand how to fix it.

for exemple:

https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=TJYZBJFGWFREW&custom=58e567ed4e...

Thanks in advance,

 

Login to Me Too

pricey_81
Member
Member

Since this change I'm seeing an error 'Things don't appear to be working at the moment. Please try again later.' when sending to PayPal from an OpenCart 1.5 shop.

 

I've followed the instructions from the PayPal Knowledge article and retrieved the form data:

cmd:_cart
upload:1
business:emailathost.com
item_name_1:Collection 'Evasion' Lorelaï Design
item_number_1:   
amount_1:6.30
quantity_1:1
weight_1:0
currency_code:EUR
first_name:Customer
last_name:Name
address1:31 No Way
address2:burb
city:Town
zip:AB12 3CD
country:GB
address_override:0
email:emailathost.co.uk
invoice:676 - Customer Name
lc:en
rm:2
no_note:1
charset:utf-8
return:http://localhost/opencart/index.php?route=checkout/success
notify_url:http://localhost/opencart/index.php?route=payment/pp_standard/callback
cancel_return:http://localhost/opencart/index.php?route=checkout/checkout
paymentaction:sale
custom:676

I've anonymised some of the data but nothing has fundamentally changed. I can't seem to see what could be causing the error

Login to Me Too

rhallman
Member
Member

Bit late to the party, but just had what looks like this issue crop up on a site that hasn't been actively transacting for a while. Is this an issue with the BMCreateButton method of generating the button code? I am getting a "success" response from the initial post to get the button when sending the following (line breaks added for readability but not present in the actual post

 

&METHOD=BMCreateButton&BUTTONCODE=HOSTED&BUTTONTYPE=BUYNOW&L%5FBUTTONVAR0=amount=12%2E99&L%5FBUTTONVAR1=cmd=%5Fcart&L%5FBUTTONVAR2=upload=1&L%5FBUTTONVAR3=item%5Fname=Purchase+from+XXXX+XXXXXXX&L%5FBUTTONVAR4=first%5Fname=Richard&L%5FBUTTONVAR5=last%5Fname=Xxxxxxx&L%5FBUTTONVAR6=address1=30+Qxxxxn+Cxxxxxx+St&L%5FBUTTONVAR7=city=Bxxxxxx&L%5FBUTTONVAR8=zip=BXN+NXX&L%5FBUTTONVAR9=lc=GB&L%5FBUTTONVAR10=email=rxxxxxx%2Ex%40xxx%2Dxxxx%2Ecom&L%5FBUTTONVAR11=night%5Fphone%5Fb=0nnn0+nnnnnn&L%5FBUTTONVAR12=notify%5Furl=http%3A%2F%2Fwww%2Exxxxxxxxxxx%2Exxx%2Fsecure%2Fxt%5Fpaypallistener%2Easp&L%5FBUTTONVAR13=cancel%5Freturn=http%3A%2F%2Fwww%2Exxxxxxxxxxx%2Exxx%2Fsecure%2Fcheckout2%2Easp&L%5FBUTTONVAR14=return=http%3A%2F%2Fwww%2Exxxxxxxxxx%2Exxx%2Fsecure%2Fxt%5Fpaypal%5Fprocessresponse%2Easp%3FShopperID=xx&PaymentValue=12%2E99&L%5FBUTTONVAR15=PAYMENTACTION=sale&L%5FBUTTONVAR16=currency%5Fcode=GBP&L%5FBUTTONVAR17=template=templateB&L%5FBUTTONVAR18=showHostedThankyouPage=false&L%5FBUTTONVAR19=custom=3564&USER=xxxxx.xxxxxxxxxxx.xxx&PWD=23US63WR5FV6VQPS&SIGNATURE=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&VERSION=80.0

 

When I then redirect to the supplied link (of the form https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=XXXXNXXNXXXN) I get the "things don't appear to be working" message.....

 

Any assistance would be appreciated!

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.