500 Internal Server Error
-
In sandbox mode with using visa or mastercard i get an error. logs:
[22-01-2019 01:12:23] PayPal\Core\PayPalHttpConnection: INFO : POST https://api.sandbox.paypal.com/v1/payments/payment [22-01-2019 01:12:54] PayPal\Core\PayPalHttpConnection: DEBUG : Request Headers : POST /v1/payments/payment HTTP/1.1, Host: api.sandbox.paypal.com, Accept: */*, Content-Type: application/json, User-Agent: PayPalSDK/PayPal-PHP-SDK 1.6.4 (platform-ver=7.2.14; bit=64; os=Linux_2.6.32-673.26.1.lve1.4.15.el6.x86_64; machine=x86_64; crypto-lib-ver=1.0.1e; curl=7.19.7), Authorization: Bearer A21AAE_S24UiVQkN-1uG2jvjSF20J6g7U5TL132vPPc6gZOoBtr6bEJjjpYCyP5_DEX-sbfKz4j5jiyR354FOjdpy_3TXLrQw, PayPal-Request-Id: 21307064332771341154816273835444, PayPal-Partner-Attribution-Id: AngellEYE_SP_WooCommerce, Content-Length: 886, , [22-01-2019 01:12:54] PayPal\Core\PayPalHttpConnection: DEBUG : Request Data : {"intent":"sale","payer":{"payment_method":"credit_card","funding_instruments":[{"credit_card":{"type":"visa","number":"4012888888881881","expire_month":"12","expire_year":2021,"cvv2":"234","first_name":"\u0422\u0430\u0440\u0430\u0441","last_name":"\u0425\u0432\u044b\u043b\u044c"}}]},"transactions":[{"amount":{"currency":"USD","total":"48.40","details":{"shipping":"4.40","tax":"0.00","subtotal":"44.00"}},"item_list":{"items":[{"name":"Supplement Powder","currency":"USD","quantity":1,"price":"44.00"}],"shipping_address":{"recipient_name":"\u0422\u0430\u0440\u0430\u0441\u0425\u0432\u044b\u043b\u044c","line1":"307 W Ross Ave","line2":"","city":"Tampa","state":"CA","postal_code":"33602","country_code":"US"}},"description":"Payment description","invoice_number":"5c4716b61cf07","custom":"{\"order_id\":206,\"order_key\":\"wc_order_5c47166432732\"}","soft_descriptor":"Humankind"}]} -------------------------------------------------------------------------------------------------------------------------------- [22-01-2019 01:12:54] PayPal\Core\PayPalHttpConnection: INFO : Response Status : 500 [22-01-2019 01:12:54] PayPal\Core\PayPalHttpConnection: DEBUG : Response Headers : HTTP/1.1 500 Internal Server Error, Date: Tue, 22 Jan 2019 13:12:23 GMT, Server: Apache, Content-Length: 649, Connection: close, Content-Type: text/html; charset=iso-8859-1, , [22-01-2019 01:12:54] PayPal\Core\PayPalHttpConnection: ERROR : Got Http response code 500 when accessing https://api.sandbox.paypal.com/v1/payments/payment. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>500 Internal Server Error</title> </head><body> <h1>Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p> <p>More information about this error may be available in the server error log.</p> <hr> <address>Apache Server at <a href="mailto:[email protected]">api.sandbox.paypal.com</a> Port 443</address> </body></html> [22-01-2019 01:12:54] PayPal\Core\PayPalHttpConnection: DEBUG : ================================================================================================================================
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘500 Internal Server Error’ is closed to new replies.