Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HTTP status code
- 500 (Internal Server Error)
- Request to your endpoint
- {
- "id": "evt_###################333",
- "object": "event",
- "api_version": "2017-08-15",
- "created": 1570723447,
- "data": {
- "object": {
- "id": "pi_##################",
- "object": "payment_intent",
- "allowed_source_types": [
- "card"
- ],
- "amount": 2395,
- "amount_capturable": 0,
- "amount_received": 0,
- "application": null,
- "application_fee_amount": null,
- "canceled_at": null,
- "cancellation_reason": null,
- "capture_method": "automatic",
- "charges": {
- "object": "list",
- "data": [
- {
- "id": "ch_#####################",
- "object": "charge",
- "amount": 2395,
- "amount_refunded": 0,
- "application": null,
- "application_fee": null,
- "application_fee_amount": null,
- "balance_transaction": "txn_###################",
- "billing_details": {
- "address": {
- "city": "São Paulo",
- "country": "BR",
- "line1": "Rua ##########",
- "line2": "Ap ##",
- "postal_code": "########33",
- "state": "SP"
- },
- "email": null,
- "name": "André #############",
- "phone": null
- },
- "captured": true,
- "created": 1570723447,
- "currency": "brl",
- "customer": "cus_##########",
- "description": "Fica a Dica Premium - Order ######",
- "destination": null,
- "dispute": null,
- "failure_code": null,
- "failure_message": null,
- "fraud_details": {
- },
- "invoice": null,
- "livemode": true,
- "metadata": {
- "customer_name": "André ###############333",
- "customer_email": "anf.#########@######.com",
- "order_id": "#########",
- "payment_type": "recurring",
- "site_url": "https://www.ficaadicapremium.com.br"
- },
- "on_behalf_of": null,
- "order": null,
- "outcome": {
- "network_status": "approved_by_network",
- "reason": null,
- "risk_level": "normal",
- "risk_score": 2,
- "seller_message": "Payment complete.",
- "type": "authorized"
- },
- "paid": true,
- "payment_intent": "pi_###################",
- "payment_method": "card_#####################",
- "payment_method_details": {
- "card": {
- "brand": "mastercard",
- "checks": {
- "address_line1_check": "pass",
- "address_postal_code_check": "pass",
- "cvc_check": null
- },
- "country": "BR",
- "exp_month": #,
- "exp_year": ####,
- "fingerprint": "###########3",
- "funding": "credit",
- "installments": null,
- "last4": "####",
- "network": "mastercard",
- "three_d_secure": null,
- "wallet": null
- },
- "type": "card"
- },
- "receipt_email": null,
- "receipt_number": null,
- "receipt_url": "https://pay.stripe.com/receipts/acct_##################3/ch_############/rcpt_################",
- "refunded": false,
- "refunds": {
- "object": "list",
- "data": [
- ],
- "has_more": false,
- "total_count": 0,
- "url": "/v1/charges/ch_###################3/refunds"
- },
- "review": null,
- "shipping": null,
- "source": {
- "id": "card_########################33",
- "object": "card",
- "address_city": "São Paulo",
- "address_country": "BR",
- "address_line1": "Rua ###########",
- "address_line1_check": "pass",
- "address_line2": "####",
- "address_state": "SP",
- "address_zip": "############",
- "address_zip_check": "pass",
- "brand": "MasterCard",
- "country": "BR",
- "customer": "cus_##########",
- "cvc_check": null,
- "dynamic_last4": null,
- "exp_month": #,
- "exp_year": ####,
- "fingerprint": "###############33",
- "funding": "credit",
- "last4": "####",
- "metadata": {
- },
- "name": "André Nunes de Freitas",
- "tokenization_method": null
- },
- "source_transfer": null,
- "statement_descriptor": "Fica a Dica Premium",
- "statement_descriptor_suffix": null,
- "status": "succeeded",
- "transfer_data": null,
- "transfer_group": null
- }
- ],
- "has_more": false,
- "total_count": 1,
- "url": "/v1/charges?payment_intent=pi_######################"
- },
- "client_secret": "###############################",
- "confirmation_method": "automatic",
- "created": 1570723447,
- "currency": "brl",
- "customer": "cus_##################",
- "description": "Fica a Dica Premium - Order 131606",
- "invoice": null,
- "last_payment_error": null,
- "livemode": true,
- "metadata": {
- "customer_name": "André ##############",
- "customer_email": "anf.#####@gmail.com",
- "order_id": "131606",
- "payment_type": "recurring",
- "site_url": "https://www.ficaadicapremium.com.br"
- },
- "next_action": null,
- "next_source_action": null,
- "on_behalf_of": null,
- "payment_method": null,
- "payment_method_options": {
- "card": {
- "installments": null,
- "request_three_d_secure": "automatic"
- }
- },
- "payment_method_types": [
- "card"
- ],
- "receipt_email": null,
- "review": null,
- "setup_future_usage": null,
- "shipping": null,
- "source": null,
- "statement_descriptor": "Fica a Dica Premium",
- "statement_descriptor_suffix": null,
- "status": "requires_source",
- "transfer_data": null,
- "transfer_group": null
- }
- },
- "livemode": true,
- "pending_webhooks": 1,
- "request": {
- "id": "req_#############",
- "idempotency_key": null
- },
- "type": "payment_intent.created"
- }
- Response
- <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>
- <html xmlns="http://www.w3.org/1999/xhtml" lang="pt-BR">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width">
- <meta name='robots' content='noindex,follow' />
- <title>Erro › WordPress</title>
- <style type="text/css">
- html {
- background: #f1f1f1;
- }
- body {
- background: #fff;
- color: #444;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
- margin: 2em auto;
- padding: 1em 2em;
- max-width: 700px;
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
- }
- h1 {
- border-bottom: 1px solid #dadada;
- clear: both;
- color: #666;
- font-size: 24px;
- margin: 30px 0 0 0;
- padding: 0;
- padding-bottom: 7px;
- }
- #error-page {
- margin-top: 50px;
- }
- #error-page p {
- font-size: 14px;
- line-height: 1.5;
- margin: 25px 0 20px;
- }
- #error-page code {
- font-family: Consolas, Monaco, monospace;
- }
- ul li {
- margin-bottom: 10px;
- font-size: 14px ;
- }
- a {
- color: #0073aa;
- }
- a:hover,
- a:active {
- color: #00a0d2;
- }
- a:focus {
- color: #124964;
- -webkit-box-shadow:
- 0 0 0 1px #5b9dd9,
- 0 0 2px 1px rgba(30, 140, 190, 0.8);
- box-shadow:
- 0 0 0 1px #5b9dd9,
- 0 0 2px 1px rgba(30, 140, 190, 0.8);
- outline: none;
- }
- .button {
- background: #f7f7f7;
- border: 1px solid #ccc;
- color: #555;
- display: inline-block;
- text-decoration: none;
- font-size: 13px;
- line-height: 26px;
- height: 28px;
- margin: 0;
- padding: 0 10px 1px;
- cursor: pointer;
- -webkit-border-radius: 3px;
- -webkit-appearance: none;
- border-radius: 3px;
- white-space: nowrap;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box;
- -webkit-box-shadow: 0 1px 0 #ccc;
- box-shadow: 0 1px 0 #ccc;
- vertical-align: top;
- }
- .button.button-large {
- height: 30px;
- line-height: 28px;
- padding: 0 12px 2px;
- }
- .button:hover,
- .button:focus {
- background: #fafafa;
- border-color: #999;
- color: #23282d;
- }
- .button:focus {
- border-color: #5b9dd9;
- -webkit-box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
- box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
- outline: none;
- }
- .button:active {
- background: #eee;
- border-color: #999;
- -webkit-box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
- box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
- -webkit-transform: translateY(1px);
- -ms-transform: translateY(1px);
- transform: translateY(1px);
- }
- </style>
- </head>
- <body id="error-page">
- <p>O site está passando por dificuldades técnicas.</p></body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment