Sandbox Internal Server 500 Error

kbauman
Contributor
Contributor

Using PayPal's sandbox, along with WooCommerce, we get a 500 error from PayPal instead of the regular checkout screen. Everything worked fine yesterday. There is nothing in the response.

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

kbauman
Contributor
Contributor

It seems to be working once again. Thank you.

 

We ended up having to just skip right to production and hope things would work out. It did, but have the sandbox down for such an extended period of time seems pretty bad for a company as large a PayPal.

View solution in original post

Login to Me Too
18 REPLIES 18

angelleye
Advisor
Advisor

Are you working with basic PayPal options that come with WooCommerce, the PayPal for WooCommerce plugin, or some other plugin?  Are you setting up PayPal Standard, Express Checkout, REST, or what exactly?

 

Internal Server Error can come back from PayPal's sandbox for a variety of reasons, usually  a simple case of their system not working at the moment (which unfortunately happens way too much in the sandbox.)  It can also happen if your API request is malformed.  If you're using a plugin check to see if logging is enabled and then let us get a look at the log file to see if we find potential problems.

 

I am not having any issues with the sandbox right this moment.  Is it still happening to you?

Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
Login to Me Too

kbauman
Contributor
Contributor

Thanks for the reply. We're using PayPal Standard, with no plugins.

 

I have been testing with a business PayPal account for the receiving end, and a PayPal buyer account, set up in the PayPal developer dashboard. It was working fine until today.

 

I finally took the time to test with some other accounts, and it's all resulting in a blank page, and the response is a 500 error. So, I'm thinking it's down.

 

We haven't even gotten around to testing IPN yet.

 

Of course, the plan was to launch tomorrow.

Login to Me Too

latelier
Contributor
Contributor

I have the same problem... and no solution !! Help !!

Login to Me Too

kbauman
Contributor
Contributor

Still not working.

 

Here is the decoded url, with identifiable info changed:

https://www.sandbox.paypal.com/cgi-bin/webscr?
test_ipn=1
&cmd=_cart
&business=myemailassociatedwithpaypal
&no_note=1
&currency_code=USD
&charset=utf-8&rm=1
&upload=1
&return=http://local.website.com/checkout/order-received/439
?key=wc_order_594c90b6bbb57
&utm_nooverride=1
&cancel_return=http://local.website.com/cart/?cancel_order=true
&order=wc_order_594c90b6bbb57
&order_id=439
&redirect
&_wpnonce=1ad64e16af
&page_style=
&image_url=
&paymentaction=sale
&bn=WooThemes_Cart
&invoice=WC-439
&custom={"order_id":439,"order_key":"wc_order_594c90b6bbb57"}
&notify_url=http://local.website.com/wc-api/WC_Gateway_Paypal/
&first_name=First
&last_name=Last
&address1=1234 Some St
&address2=
&city=City
&state=ST
&zip=80206
&country=US
&email=myname-buyeremail
&night_phone_a=248
&night_phone_b=935
&night_phone_c=4695
&no_shipping=1
&tax_cart=0.00
&item_name_1=Hospitals and Physicians
&quantity_1=1
&amount_1=99
&item_number_1=

Login to Me Too

angelleye
Advisor
Advisor

@kbauman, I'm a little confused.  What you've shown here seems to be IPN data from a successful transaction.  What I'm looking for is the payment/button HTML you're using to process the actual payment.

Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
Login to Me Too

sparketplace
New Community Member
I got the same problem, but it's still working with Live accounts
Login to Me Too

Wbrowser
Member
Member

Same thing happen to me. The payment buttons generated by paypal sandbox was working yesterday now it just redirects to a white screen(page) with Internal Server Error (500) when inspected in the browser console. A lot of searches on google and found out that it's not only happening on my side but on some users too. 

 

What I did to make sure that it's not because of the website that I'm currently working on is, copy and paste the complete url generated by the paypal sandbox button generator directly on the browser window and same thing. white screen with Internal Server (500).

 

Any suggestions? 

Login to Me Too

MTS_Ciaran
Moderator
Moderator

We're aware of this issue and working to resolve. Will keep you posted with updates. 

Login to Me Too

DrMonster
Contributor
Contributor

I too am having this issue since 22nd June!!

Here is the basic form being sent from my site

action="https://www.sandbox.paypal.com/cgi-bin/webscr" >
<input type="hidden" name="cmd" value="_cart"/>
<input type="hidden" name="business" value="name.domain.com"/>
<input type="hidden" name="item_name_1" value="item"/>
<input type="hidden" name="amount_1" value="17.00"/>
<input type="hidden" name="quantity_1" value="1"/>
<input type="hidden" name="upload" value="1"/>
<input type="hidden" name="currency_code" value="GBP"/>
<input type="hidden" name="rm" value="2"/>
<input type="hidden" name="cancel_return" value="http://site.com/Cancel"/>
<input type="hidden" name="shopping_url" value="http://site.com/shopwithus"/>
<input type="hidden" name="notify_url" value="http://site.com/response/"/>
<input type="hidden" name="no_shipping" value="1"/>
<input type="hidden" name="lc" value="GB"/>
<input type="hidden" name="image_url" value="http://site.com/pic.gif"/>
<input type="hidden" name="no_note" value="1"/>
<input type="hidden" name="invoice" value="ab12963257"/>

Any update when this is going to be resolved? Starting to get urgent as i have a site to go live and this is impacting my schedule. Hope the above form would be ok for the change scheduled in for June 30 (about using https)?

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.