jffaria

Untitled

Oct 10th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.04 KB | None | 0 0
  1. HTTP status code
  2. 500 (Internal Server Error)
  3.  
  4. Request to your endpoint
  5. {
  6. "id": "evt_###################333",
  7. "object": "event",
  8. "api_version": "2017-08-15",
  9. "created": 1570723447,
  10. "data": {
  11. "object": {
  12. "id": "pi_##################",
  13. "object": "payment_intent",
  14. "allowed_source_types": [
  15. "card"
  16. ],
  17. "amount": 2395,
  18. "amount_capturable": 0,
  19. "amount_received": 0,
  20. "application": null,
  21. "application_fee_amount": null,
  22. "canceled_at": null,
  23. "cancellation_reason": null,
  24. "capture_method": "automatic",
  25. "charges": {
  26. "object": "list",
  27. "data": [
  28. {
  29. "id": "ch_#####################",
  30. "object": "charge",
  31. "amount": 2395,
  32. "amount_refunded": 0,
  33. "application": null,
  34. "application_fee": null,
  35. "application_fee_amount": null,
  36. "balance_transaction": "txn_###################",
  37. "billing_details": {
  38. "address": {
  39. "city": "São Paulo",
  40. "country": "BR",
  41. "line1": "Rua ##########",
  42. "line2": "Ap ##",
  43. "postal_code": "########33",
  44. "state": "SP"
  45. },
  46. "email": null,
  47. "name": "André #############",
  48. "phone": null
  49. },
  50. "captured": true,
  51. "created": 1570723447,
  52. "currency": "brl",
  53. "customer": "cus_##########",
  54. "description": "Fica a Dica Premium - Order ######",
  55. "destination": null,
  56. "dispute": null,
  57. "failure_code": null,
  58. "failure_message": null,
  59. "fraud_details": {
  60. },
  61. "invoice": null,
  62. "livemode": true,
  63. "metadata": {
  64. "customer_name": "André ###############333",
  65. "customer_email": "anf.#########@######.com",
  66. "order_id": "#########",
  67. "payment_type": "recurring",
  68. "site_url": "https://www.ficaadicapremium.com.br"
  69. },
  70. "on_behalf_of": null,
  71. "order": null,
  72. "outcome": {
  73. "network_status": "approved_by_network",
  74. "reason": null,
  75. "risk_level": "normal",
  76. "risk_score": 2,
  77. "seller_message": "Payment complete.",
  78. "type": "authorized"
  79. },
  80. "paid": true,
  81. "payment_intent": "pi_###################",
  82. "payment_method": "card_#####################",
  83. "payment_method_details": {
  84. "card": {
  85. "brand": "mastercard",
  86. "checks": {
  87. "address_line1_check": "pass",
  88. "address_postal_code_check": "pass",
  89. "cvc_check": null
  90. },
  91. "country": "BR",
  92. "exp_month": #,
  93. "exp_year": ####,
  94. "fingerprint": "###########3",
  95. "funding": "credit",
  96. "installments": null,
  97. "last4": "####",
  98. "network": "mastercard",
  99. "three_d_secure": null,
  100. "wallet": null
  101. },
  102. "type": "card"
  103. },
  104. "receipt_email": null,
  105. "receipt_number": null,
  106. "receipt_url": "https://pay.stripe.com/receipts/acct_##################3/ch_############/rcpt_################",
  107. "refunded": false,
  108. "refunds": {
  109. "object": "list",
  110. "data": [
  111. ],
  112. "has_more": false,
  113. "total_count": 0,
  114. "url": "/v1/charges/ch_###################3/refunds"
  115. },
  116. "review": null,
  117. "shipping": null,
  118. "source": {
  119. "id": "card_########################33",
  120. "object": "card",
  121. "address_city": "São Paulo",
  122. "address_country": "BR",
  123. "address_line1": "Rua ###########",
  124. "address_line1_check": "pass",
  125. "address_line2": "####",
  126. "address_state": "SP",
  127. "address_zip": "############",
  128. "address_zip_check": "pass",
  129. "brand": "MasterCard",
  130. "country": "BR",
  131. "customer": "cus_##########",
  132. "cvc_check": null,
  133. "dynamic_last4": null,
  134. "exp_month": #,
  135. "exp_year": ####,
  136. "fingerprint": "###############33",
  137. "funding": "credit",
  138. "last4": "####",
  139. "metadata": {
  140. },
  141. "name": "André Nunes de Freitas",
  142. "tokenization_method": null
  143. },
  144. "source_transfer": null,
  145. "statement_descriptor": "Fica a Dica Premium",
  146. "statement_descriptor_suffix": null,
  147. "status": "succeeded",
  148. "transfer_data": null,
  149. "transfer_group": null
  150. }
  151. ],
  152. "has_more": false,
  153. "total_count": 1,
  154. "url": "/v1/charges?payment_intent=pi_######################"
  155. },
  156. "client_secret": "###############################",
  157. "confirmation_method": "automatic",
  158. "created": 1570723447,
  159. "currency": "brl",
  160. "customer": "cus_##################",
  161. "description": "Fica a Dica Premium - Order 131606",
  162. "invoice": null,
  163. "last_payment_error": null,
  164. "livemode": true,
  165. "metadata": {
  166. "customer_name": "André ##############",
  167. "customer_email": "anf.#####@gmail.com",
  168. "order_id": "131606",
  169. "payment_type": "recurring",
  170. "site_url": "https://www.ficaadicapremium.com.br"
  171. },
  172. "next_action": null,
  173. "next_source_action": null,
  174. "on_behalf_of": null,
  175. "payment_method": null,
  176. "payment_method_options": {
  177. "card": {
  178. "installments": null,
  179. "request_three_d_secure": "automatic"
  180. }
  181. },
  182. "payment_method_types": [
  183. "card"
  184. ],
  185. "receipt_email": null,
  186. "review": null,
  187. "setup_future_usage": null,
  188. "shipping": null,
  189. "source": null,
  190. "statement_descriptor": "Fica a Dica Premium",
  191. "statement_descriptor_suffix": null,
  192. "status": "requires_source",
  193. "transfer_data": null,
  194. "transfer_group": null
  195. }
  196. },
  197. "livemode": true,
  198. "pending_webhooks": 1,
  199. "request": {
  200. "id": "req_#############",
  201. "idempotency_key": null
  202. },
  203. "type": "payment_intent.created"
  204. }
  205.  
  206. Response
  207. <br><b>Uncaught Error</b>: Call to private WC_Stripe::__construct() from context 'WC_Payment_Gateways' in <b>/################/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php</b> on line <b>94</b><br><ul><li>init()<br><span class="qm-info qm-supplemental">wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:70</span></li><li>__construct()<br><span class="qm-info qm-supplemental">wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:43</span></li><li>instance()<br><span class="qm-info qm-supplemental">wp-content/plugins/woocommerce/includes/class-woocommerce.php:817</span></li><li>payment_gateways()<br><span class="qm-info qm-supplemental">wp-content/plugins/woocommerce/includes/class-wc-api.php:139</span></li><li>handle_api_requests()<br><span class="qm-info qm-supplemental">wp-includes/class-wp-hook.php:286</span></li><li>apply_filters()<br><span class="qm-info qm-supplemental">wp-includes/class-wp-hook.php:310</span></li><li>do_action()<br><span class="qm-info qm-supplemental">wp-includes/plugin.php:531</span></li><li>do_action_ref_array()<br><span class="qm-info qm-supplemental">wp-includes/class-wp.php:387</span></li><li>parse_request()<br><span class="qm-info qm-supplemental">wp-includes/class-wp.php:737</span></li><li>main()<br><span class="qm-info qm-supplemental">wp-includes/functions.php:1105</span></li><li>wp()<br><span class="qm-info qm-supplemental">wp-blog-header.php:16</span></li><li>require()<br><span class="qm-info qm-supplemental">index.php:17</span></li></ul><!DOCTYPE html>
  208. <html xmlns="http://www.w3.org/1999/xhtml" lang="pt-BR">
  209. <head>
  210. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  211. <meta name="viewport" content="width=device-width">
  212. <meta name='robots' content='noindex,follow' />
  213. <title>Erro &rsaquo; WordPress</title>
  214. <style type="text/css">
  215. html {
  216. background: #f1f1f1;
  217. }
  218. body {
  219. background: #fff;
  220. color: #444;
  221. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  222. margin: 2em auto;
  223. padding: 1em 2em;
  224. max-width: 700px;
  225. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
  226. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
  227. }
  228. h1 {
  229. border-bottom: 1px solid #dadada;
  230. clear: both;
  231. color: #666;
  232. font-size: 24px;
  233. margin: 30px 0 0 0;
  234. padding: 0;
  235. padding-bottom: 7px;
  236. }
  237. #error-page {
  238. margin-top: 50px;
  239. }
  240. #error-page p {
  241. font-size: 14px;
  242. line-height: 1.5;
  243. margin: 25px 0 20px;
  244. }
  245. #error-page code {
  246. font-family: Consolas, Monaco, monospace;
  247. }
  248. ul li {
  249. margin-bottom: 10px;
  250. font-size: 14px ;
  251. }
  252. a {
  253. color: #0073aa;
  254. }
  255. a:hover,
  256. a:active {
  257. color: #00a0d2;
  258. }
  259. a:focus {
  260. color: #124964;
  261. -webkit-box-shadow:
  262. 0 0 0 1px #5b9dd9,
  263. 0 0 2px 1px rgba(30, 140, 190, 0.8);
  264. box-shadow:
  265. 0 0 0 1px #5b9dd9,
  266. 0 0 2px 1px rgba(30, 140, 190, 0.8);
  267. outline: none;
  268. }
  269. .button {
  270. background: #f7f7f7;
  271. border: 1px solid #ccc;
  272. color: #555;
  273. display: inline-block;
  274. text-decoration: none;
  275. font-size: 13px;
  276. line-height: 26px;
  277. height: 28px;
  278. margin: 0;
  279. padding: 0 10px 1px;
  280. cursor: pointer;
  281. -webkit-border-radius: 3px;
  282. -webkit-appearance: none;
  283. border-radius: 3px;
  284. white-space: nowrap;
  285. -webkit-box-sizing: border-box;
  286. -moz-box-sizing: border-box;
  287. box-sizing: border-box;
  288.  
  289. -webkit-box-shadow: 0 1px 0 #ccc;
  290. box-shadow: 0 1px 0 #ccc;
  291. vertical-align: top;
  292. }
  293.  
  294. .button.button-large {
  295. height: 30px;
  296. line-height: 28px;
  297. padding: 0 12px 2px;
  298. }
  299.  
  300. .button:hover,
  301. .button:focus {
  302. background: #fafafa;
  303. border-color: #999;
  304. color: #23282d;
  305. }
  306.  
  307. .button:focus {
  308. border-color: #5b9dd9;
  309. -webkit-box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
  310. box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
  311. outline: none;
  312. }
  313.  
  314. .button:active {
  315. background: #eee;
  316. border-color: #999;
  317. -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
  318. box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
  319. -webkit-transform: translateY(1px);
  320. -ms-transform: translateY(1px);
  321. transform: translateY(1px);
  322. }
  323.  
  324. </style>
  325. </head>
  326. <body id="error-page">
  327. <p>O site está passando por dificuldades técnicas.</p></body>
  328. </html>
Advertisement
Add Comment
Please, Sign In to add comment