Paypal Internal Server Error Sandbox
Contents |
Sign in Pricing Blog Support Search GitHub paypal sandbox internal service error This repository Watch 42 Star 380 Fork 144 paypal/PayPal-Ruby-SDK
Paypal Internal Server Error 500
Code Issues 8 Pull requests 2 Projects 0 Wiki Pulse Graphs New issue
Paypal Error Code 500
500 error when creating a Paypal payment #34 Closed bilby91 opened this Issue Aug 21, 2014 · 34 comments Projects None yet
Paypal "internal_service_error
Labels api-bug Milestone No milestone Assignees No one assigned 20 participants bilby91 commented Aug 21, 2014 I'm trying to create a paypal payment and always get a 500 response from paypal in sandbox mode. This is my code: PayPal::SDK.configure( mode: internal service error paypal 'sandbox', client_id: 'XXXX', client_secret: 'XXX', ssl_options: {} ) p = PayPal::SDK::REST::DataTypes::Payment.new( { intent: 'sale', payer: { payment_method: 'paypal', transactions: [ { amount: { total: 1.1, currency: 'USD' } } ] }, redirect_urls: { return_url: 'http://localhost', cancel_url: 'http://localhost' } }) p.create The error looks something like this: I, [2014-08-21T20:21:46.325710 #1569] INFO -- : Request[post]: https://api.sandbox.paypal.com/v1/oauth2/token I, [2014-08-21T20:21:49.156803 #1569] INFO -- : Response[200]: OK, Duration: 2.831s I, [2014-08-21T20:21:49.170133 #1569] INFO -- : PayPal-Request-Id: XXXXXXXX I, [2014-08-21T20:21:49.170219 #1569] INFO -- : Request[post]: https://api.sandbox.paypal.com/v1/payments/payment I, [2014-08-21T20:21:50.689819 #1569] INFO -- : Response[500]: Internal Server Error, Duration: 1.520s PayPal::SDK::Core::Exceptions::ServerError: Failed. Response code = 500. Response message = Internal Server Error. Response debug ID = f2cb266f13c33. from /Users/bilby91/.rvm/gems/ruby-2.0.0-p247/gems/paypal-sdk-core-0.3.0/lib/paypal-sdk/core/util/http_helper.rb:138:in `handle_response' from /Users/bilby91/.rvm/gems/ruby-2.0.0-p247/gems/paypal-sdk-core-0.3.0/lib/paypal-sdk/core/api/rest.rb:110:in `handle_response' from /Users/bilby91/.rvm/gems/ruby-2.0.0-p247/gems/paypal-sdk-core-0.3.0/lib/paypal-sdk/core/util/http_helper.rb:72:in `http_call' from /Users/bilby91/.rvm/gems/ruby-2.0.0-p247/gems/paypal-sdk-core-0.3.0/lib/paypal-sdk/core/api/base.rb:84:in `api_call' from /Users/bilby91/.rvm/gems/ruby-2.0.0-p247/gems/paypal-sdk-core-0.3.0/lib/paypal-sdk/core/api/rest.rb:95:in `api_call' from /Users/bilby91/.rvm/gems/ruby-2.0.0-p247/gems/paypal-sdk-core-0.3.0/lib/paypal-sdk/core/api/base.rb:96:in `post' from /Users/bilby91/.rvm/gems/ruby-2.0.0-p247/bundler/gems/rest-api-sdk-ruby-e6f7b5ad7fa2
The Archives > My Business Archives > Merchant services (Archive) > Sandbox Business Account 500 Internal Server paypal debug id Error CommunityCategoryBoardUsers turn an internal service error has occurred paypal on suggestions Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Showing paypal sandbox internal_service_error results for Search instead for Do you mean Ask the Community Reply to topic More topic options Subscribe to RSS Feed Mark Topic as New Mark Topic as Read Float https://github.com/paypal/PayPal-Ruby-SDK/issues/34 this Topic to the Top Bookmark Subscribe Printer Friendly Page « Go to board « Previous Topic Next Topic » metrathon Member Posts: 2 Kudos: 0 Accepted Solutions: 0 Sandbox Business Account 500 Internal Server Error 08-08-2011 12:59 PM Not sure where to post this but here we go anyway: if you click the "Start now" button for Express Checkout in Sandbox https://www.paypal-community.com/t5/Merchant-services-Archive/Sandbox-Business-Account-500-Internal-Server-Error/td-p/314160 Business Account -> My Business Setup -> My payment solution, you get a nice 500 Internal Server Error. See the screen shot below.Any ideas?Thanks 0 Kudos More options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report Inappropriate Content metrathon Member Posts: 2 Kudos: 0 Accepted Solutions: 0 Re: Sandbox Business Account 500 Internal Server Error 08-09-2011 09:37 AM Anybody? This is a serious error ... 0 Kudos More options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report Inappropriate Content Misty11 Volunteer Advisor Posts: 2084 Kudos: 107 Accepted Solutions: 26 Re: Sandbox Business Account 500 Internal Server Error 08-10-2011 03:24 PM Hello metrathon, You have very good questions, however PayPal does have a Developer Forum dedicated to Sandbox questions they would be able to better answer your questions. Here is a direct link. I hope this will help. ~ Misty Everyone's Tags: Sandbox View All (1) 0 Kudos More options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Re
here for a quick overview of the site Help Center http://stackoverflow.com/questions/17413650/paypal-sandbox-internal-service-error Detailed answers to any questions you might have Meta Discuss http://stackoverflow.com/questions/18471503/paypal-sandbox-returning-internal-service-error the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss internal service Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up PayPal Sandbox Internal Service Error up vote 0 down vote favorite I am trying to use the PayPal Sandbox internal service error for testing automated credit card processing, but running into an issue. Last week my tests were "successful" in the sense that when a validation error occurred the API would choke, but at least I knew something happened. After cleaning up my code that was being passed to the API, I no longer get validation errors, just internal service errors and this has been occurring for four days. Here is what the log file shows (access token removed here, but it was generated from the API successfully prior to use): 2013-07-01 16:47:00,845 [32944] DEBUG PayPal.Manager.ConnectionManager [(null)] grant_type=client_credentials 2013-07-01 16:47:03,296 [32944] DEBUG PayPal.Manager.ConnectionManager [(null)] Service response 2013-07-01 16:47:03,296 [32944] DEBUG PayPal.Manager.ConnectionManager [(null)] {"scope":"https://api.paypal.com/v1/payments/.* https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/vault/credit-card/.* openid","access_token":"[access token that was generated]","token_type":"Bearer","app_id":"[app ID]","expires_in":28800} 2013-07-01 16:47:05,069 [32944] DEBUG PayPal.PayPalResource [(null)] Content-Type:application/json 2013-07-01 16:47:05,069 [32944] DEBUG PayPal.PayPalResource [(null)] Authorization:Bearer [access code] 2013-07-01 16:47:05,069 [32944] DEBUG PayPal.PayPalResource [(null)] User-Agent:PayPalSDK/rest-sdk-dotnet 0.7.1 ;lang=DOTNET;v=4
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up PayPal Sandbox returning Internal Service Error up vote 0 down vote favorite I am trying to use the PayPal Sandbox for testing automated credit card processing, but running into an issue. When I charge in the amount of $105 I get an INTERNAL_SERVICE_ERROR with a debug id of de753957a889d. If I go back and change the amount to something else like $115 for instance, the charge goes through as expected. I have tried several different amounts and $105 seems to be the only one that give me an error. Here are the lines from the log file: 2013-08-27 12:45:36,570 [10] DEBUG PayPal.Manager.ConnectionManager [(null)] grant_type=client_credentials 2013-08-27 12:45:37,376 [10] DEBUG PayPal.Manager.ConnectionManager [(null)] Service response 2013-08-27 12:45:37,376 [10] DEBUG PayPal.Manager.ConnectionManager [(null)] {"scope":"htts://api.paypal.com/v1/payments/.* htts://api.paypal.com/v1/vault/credit-card htts://api.paypal.com/v1/vault/credit-card/.* openid","access_token":"BJ7.168BhK3u0EgZ.MQgUABpdnTropRiXdCQ7ALrBHg","token_type":"Bearer","app_id":"APP-80W284485P519543T","expires_in":28800} 2013-08-27 12:45:37,698 [10] DEBUG PayPal.PayPalResource [(null)] Content-Type:application/json 2013-08-27 12:45:37,698 [10] DEBUG PayPal.PayPalResource [(null)] Authorization:Bearer BJ7.168BhK3u0EgZ.MQgUABpdnTropRiXdCQ7ALrBHg 2013-08-27 12:45:37,698 [10] DEBUG PayPal.PayPalResource [(null)] User-Agent:PayPalSDK/rest-sdk-dotnet 0.7.3 ;lang=DOTNET;v=4.0.30319.1008;bit=64;os=Windows 7 6.1.7601.65536; 2013-08-27 12:45:37,698 [10] DEBUG PayPal.PayPalResource [(null)] PayPal-Request-Id:14504bda-98c3-4b14-90fd-083663e80bfd 2013-08-27