Event data received from Stripe does not contain the expected values

Nirjonadda

Well-known member
Affected version
2.2.8 Patch 1
Payment provider log:

ScreenShot00477.png

Code:
Action: Error: Event data received from Stripe does not contain the expected values.

User: Unknown user

Date: Today at 6:44 AM

Purchase request key: N/A

Transaction ID: evt_1KZljxBkGIL8oaER13xDnuWr

Subscriber ID: sub_1KZljrBkGIL8oaERqhWhuVRC

Payment profile: Unknown profile

Log details

array(69) {
  ["id"] => string(27) "in_1KZljrBkGIL8oaERZhsKxhT1"
  ["object"] => string(7) "invoice"
  ["account_country"] => string(2) "IT"
  ["account_name"] => string(21) "Nirjonmela Desi Forum"
  ["account_tax_ids"] => NULL
  ["amount_due"] => int(1599)
  ["amount_paid"] => int(1599)
  ["amount_remaining"] => int(0)
  ["application_fee_amount"] => NULL
  ["attempt_count"] => int(1)
  ["attempted"] => bool(true)
  ["auto_advance"] => bool(false)
  ["automatic_tax"] => array(2) {
    ["enabled"] => bool(false)
    ["status"] => NULL
  }
  ["billing_reason"] => string(19) "subscription_create"
  ["charge"] => string(27) "ch_3KZljsBkGIL8oaER0Lt7I58m"
  ["collection_method"] => string(20) "charge_automatically"
  ["created"] => int(1646441091)
  ["currency"] => string(3) "eur"
  ["custom_fields"] => NULL
  ["customer"] => string(18) "cus_LGIIwoM4eVkcHc"
  ["customer_address"] => NULL
  ["customer_email"] => string(29) "user@gmail.com"
  ["customer_name"] => NULL
  ["customer_phone"] => NULL
  ["customer_shipping"] => NULL
  ["customer_tax_exempt"] => string(4) "none"
  ["customer_tax_ids"] => array(0) {
  }
  ["default_payment_method"] => NULL
  ["default_source"] => NULL
  ["default_tax_rates"] => array(0) {
  }
  ["description"] => NULL
  ["discount"] => NULL
  ["discounts"] => array(0) {
  }
  ["due_date"] => NULL
  ["ending_balance"] => int(0)
  ["footer"] => NULL
  ["hosted_invoice_url"] => string(157) "https://invoice.stripe.com/i/acct_1CbbokBkGIL8oaER/live_YWNjdF8xQ2Jib2tCa0dJTDhvYUVSLF9MR0lLRHN5TU9nejhTcGVtNEN6UDlyOWFmWUpidjNhLDM2OTgxODk30200WPtIBpXb?s=ap"
  ["invoice_pdf"] => string(163) "https://pay.stripe.com/invoice/acct_1CbbokBkGIL8oaER/live_YWNjdF8xQ2Jib2tCa0dJTDhvYUVSLF9MR0lLRHN5TU9nejhTcGVtNEN6UDlyOWFmWUpidjNhLDM2OTgxODk30200WPtIBpXb/pdf?s=ap"
  ["last_finalization_error"] => NULL
  ["lines"] => array(5) {
    ["object"] => string(4) "list"
    ["data"] => array(1) {
      [0] => array(21) {
        ["id"] => string(27) "il_1KZljrBkGIL8oaERDdbNcqVR"
        ["object"] => string(9) "line_item"
        ["amount"] => int(1599)
        ["currency"] => string(3) "eur"
        ["description"] => string(41) "1 × Premium Member (at €15.99 / month)"
        ["discount_amounts"] => array(0) {
        }
        ["discountable"] => bool(true)
        ["discounts"] => array(0) {
        }
        ["livemode"] => bool(true)
        ["metadata"] => array(6) {
          ["purchasable_type_id"] => string(12) "user_upgrade"
          ["purchasable_id"] => string(1) "1"
          ["currency"] => string(3) "EUR"
          ["cost"] => string(5) "15.99"
          ["length_amount"] => string(1) "1"
          ["length_unit"] => string(5) "month"
        }
        ["period"] => array(2) {
          ["end"] => int(1649119491)
          ["start"] => int(1646441091)
        }
        ["plan"] => array(19) {
          ["id"] => string(45) "user_upgrade_d369c3001a839e15ccff8927487c14ae"
          ["object"] => string(4) "plan"
          ["active"] => bool(true)
          ["aggregate_usage"] => NULL
          ["amount"] => int(1599)
          ["amount_decimal"] => string(4) "1599"
          ["billing_scheme"] => string(8) "per_unit"
          ["created"] => int(1572866281)
          ["currency"] => string(3) "eur"
          ["interval"] => string(5) "month"
          ["interval_count"] => int(1)
          ["livemode"] => bool(true)
          ["metadata"] => array(6) {
            ["purchasable_type_id"] => string(12) "user_upgrade"
            ["purchasable_id"] => string(1) "1"
            ["currency"] => string(3) "EUR"
            ["cost"] => string(5) "15.99"
            ["length_amount"] => string(1) "1"
            ["length_unit"] => string(5) "month"
          }
          ["nickname"] => NULL
          ["product"] => string(45) "user_upgrade_d369c3001a839e15ccff8927487c14ae"
          ["tiers_mode"] => NULL
          ["transform_usage"] => NULL
          ["trial_period_days"] => NULL
          ["usage_type"] => string(8) "licensed"
        }
        ["price"] => array(18) {
          ["id"] => string(45) "user_upgrade_d369c3001a839e15ccff8927487c14ae"
          ["object"] => string(5) "price"
          ["active"] => bool(true)
          ["billing_scheme"] => string(8) "per_unit"
          ["created"] => int(1572866281)
          ["currency"] => string(3) "eur"
          ["livemode"] => bool(true)
          ["lookup_key"] => NULL
          ["metadata"] => array(6) {
            ["purchasable_type_id"] => string(12) "user_upgrade"
            ["purchasable_id"] => string(1) "1"
            ["currency"] => string(3) "EUR"
            ["cost"] => string(5) "15.99"
            ["length_amount"] => string(1) "1"
            ["length_unit"] => string(5) "month"
          }
          ["nickname"] => NULL
          ["product"] => string(45) "user_upgrade_d369c3001a839e15ccff8927487c14ae"
          ["recurring"] => array(5) {
            ["aggregate_usage"] => NULL
            ["interval"] => string(5) "month"
            ["interval_count"] => int(1)
            ["trial_period_days"] => NULL
            ["usage_type"] => string(8) "licensed"
          }
          ["tax_behavior"] => string(11) "unspecified"
          ["tiers_mode"] => NULL
          ["transform_quantity"] => NULL
          ["type"] => string(9) "recurring"
          ["unit_amount"] => int(1599)
          ["unit_amount_decimal"] => string(4) "1599"
        }
        ["proration"] => bool(false)
        ["proration_details"] => array(1) {
          ["credited_items"] => NULL
        }
        ["quantity"] => int(1)
        ["subscription"] => string(28) "sub_1KZljrBkGIL8oaERqhWhuVRC"
        ["subscription_item"] => string(17) "si_LGIK1bDKlV6XvQ"
        ["tax_amounts"] => array(0) {
        }
        ["tax_rates"] => array(0) {
        }
        ["type"] => string(12) "subscription"
      }
    }
    ["has_more"] => bool(false)
    ["total_count"] => int(1)
    ["url"] => string(46) "/v1/invoices/in_1KZljrBkGIL8oaERZhsKxhT1/lines"
  }
  ["livemode"] => bool(true)
  ["metadata"] => array(0) {
  }
  ["next_payment_attempt"] => NULL
  ["number"] => string(13) "D524335E-0001"
  ["on_behalf_of"] => NULL
  ["paid"] => bool(true)
  ["paid_out_of_band"] => bool(false)
  ["payment_intent"] => string(27) "pi_3KZljsBkGIL8oaER0tfHSxQM"
  ["payment_settings"] => array(2) {
    ["payment_method_options"] => NULL
    ["payment_method_types"] => NULL
  }
  ["period_end"] => int(1646441091)
  ["period_start"] => int(1646441091)
  ["post_payment_credit_notes_amount"] => int(0)
  ["pre_payment_credit_notes_amount"] => int(0)
  ["quote"] => NULL
  ["receipt_number"] => string(9) "2636-9012"
  ["starting_balance"] => int(0)
  ["statement_descriptor"] => NULL
  ["status"] => string(4) "paid"
  ["status_transitions"] => array(4) {
    ["finalized_at"] => int(1646441091)
    ["marked_uncollectible_at"] => NULL
    ["paid_at"] => int(1646441091)
    ["voided_at"] => NULL
  }
  ["subscription"] => string(28) "sub_1KZljrBkGIL8oaERqhWhuVRC"
  ["subtotal"] => int(1599)
  ["tax"] => NULL
  ["test_clock"] => NULL
  ["total"] => int(1599)
  ["total_discount_amounts"] => array(0) {
  }
  ["total_tax_amounts"] => array(0) {
  }
  ["transfer_data"] => NULL
  ["webhooks_delivered_at"] => NULL
  ["eventType"] => string(25) "invoice.payment_succeeded"
}
 
Top