Hi Cristian, thanks for your support.
I have activated the logs and opened the page wheres EOT info is showed.
I attach de Stripe Log in S2member. There is no entry in Stripe in the logs for this event.
------------------------ STRIPE-API.LOG -------------------------
I have replaced some texts like MySite
I have replaced all IDs by xxxxxxxxxIDok or similar if i have found it in Stripe
I have replaced something like “si_–NofFoundInStripe-ID” if I haven’t found thar ID in Stripe
I have realiced that [days_until_due] is returning blank.
LOG ENTRY: Tue Mar 9th, 2021 @ precisely 11:24 pm UTC
PHP v7.3.27 :: WordPress v5.6.2 :: s2Member v210208 :: s2Member Pro v210208
Memory 31.18 MB :: Real Memory 12.00 MB :: Peak Memory 32.07 MB :: Real Peak Memory 12.00 MB
mysite.com/wellcomepageOK/
User-Agent: Mozilla/5.0 (Linux; Android 10; Mi A2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.86 Mobile Safari/537.36
-------- Function/Caller: ( get_customer_subscription ) --------
-------- Input vars: ( Tue, 09 Mar 21 23:24:01 +0000 ) --------
Array
(
[customer_id] => cus_xxxxxxxxIDok
[subscription_id] => sub_xxxxxxxxxIDok
[input_time] => 1615332241
)
-------- Output string/vars: ( Tue, 09 Mar 21 23:24:02 +0000 ) --------
Stripe\Subscription Object
(
[id] => sub_xxxxxxxxxIDok
[object] => subscription
[application_fee_percent] =>
[billing] => charge_automatically
[billing_cycle_anchor] => 1615213274
[billing_thresholds] =>
[cancel_at] =>
[cancel_at_period_end] =>
[canceled_at] =>
[collection_method] => charge_automatically
[created] => 1615213274
[current_period_end] => 1617891674
[current_period_start] => 1615213274
[customer] => cus_xxxxxxxxIDok
[days_until_due] =>
[default_payment_method] =>
[default_source] =>
[default_tax_rates] => Array
(
)
[discount] =>
[ended_at] =>
[invoice_customer_balance_settings] => Stripe\StripeObject Object
(
[consume_applied_balance_on_void] => 1
)
[items] => Stripe\Collection Object
(
[object] => list
[data] => Array
(
[0] => Stripe\SubscriptionItem Object
(
[id] => si_--NofFoundInStripe-ID
[object] => subscription_item
[billing_thresholds] =>
[created] => 1615213275
[metadata] => Stripe\StripeObject Object
(
)
[plan] => Stripe\Plan Object
(
[id] => price_xxxxxxxxxxxxIDok
[object] => plan
[active] => 1
[aggregate_usage] =>
[amount] => 12000
[amount_decimal] => 12000
[billing_scheme] => per_unit
[created] => 1615213267
[currency] => eur
[interval] => month
[interval_count] => 1
[livemode] => 1
[metadata] => Stripe\StripeObject Object
(
)
[nickname] =>
[product] => prod_xxxxxxxxxIDOk
[tiers] =>
[tiers_mode] =>
[transform_usage] =>
[trial_period_days] =>
[usage_type] => licensed
)
[price] => Stripe\StripeObject Object
(
[id] => price_xxxxxxxxxxxxIDok
[object] => price
[active] => 1
[billing_scheme] => per_unit
[created] => 1615213267
[currency] => eur
[livemode] => 1
[lookup_key] =>
[metadata] => Stripe\StripeObject Object
(
)
[nickname] =>
[product] => prod_xxxxxxxxxIDOk
[recurring] => Stripe\StripeObject Object
(
[aggregate_usage] =>
[interval] => month
[interval_count] => 1
[trial_period_days] =>
[usage_type] => licensed
)
[tiers_mode] =>
[transform_quantity] =>
[type] => recurring
[unit_amount] => 12000
[unit_amount_decimal] => 12000
)
[quantity] => 1
[subscription] => sub_xxxxxxxxxIDok
[tax_rates] => Array
(
)
)
)
[has_more] =>
[total_count] => 1
[url] => /v1/subscription_items?subscription=sub_xxxxxxxxxIDok
)
[latest_invoice] => in_xxxxInvoiceIDOk
[livemode] => 1
[metadata] => Stripe\StripeObject Object
(
)
[next_pending_invoice_item_invoice] =>
[pause_collection] =>
[pending_invoice_item_interval] =>
[pending_setup_intent] =>
[pending_update] =>
[plan] => Stripe\Plan Object
(
[id] => price_xxxxxxxxxxxxIDok
[object] => plan
[active] => 1
[aggregate_usage] =>
[amount] => 12000
[amount_decimal] => 12000
[billing_scheme] => per_unit
[created] => 1615213267
[currency] => eur
[interval] => month
[interval_count] => 1
[livemode] => 1
[metadata] => Stripe\StripeObject Object
(
)
[nickname] =>
[product] => prod_xxxxxxxxxIDOk
[tiers] =>
[tiers_mode] =>
[transform_usage] =>
[trial_period_days] =>
[usage_type] => licensed
)
[quantity] => 1
[schedule] =>
[start] => 1615213274
[start_date] => 1615213274
[status] => active
[tax_percent] =>
[transfer_data] =>
[trial_end] =>
[trial_start] =>
)
LOG ENTRY: Tue Mar 9th, 2021 @ precisely 11:24 pm UTC
PHP v7.3.27 :: WordPress v5.6.2 :: s2Member v210208 :: s2Member Pro v210208
Memory 32.14 MB :: Real Memory 20.00 MB :: Peak Memory 33.83 MB :: Real Peak Memory 20.00 MB
mysite.com/ecr/
User-Agent: Mozilla/5.0 (Linux; Android 10; Mi A2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.86 Mobile Safari/537.36
-------- Function/Caller: ( get_customer_subscription ) --------
-------- Input vars: ( Tue, 09 Mar 21 23:24:11 +0000 ) --------
Array
(
[customer_id] => cus_xxxxxxxxIDok
[subscription_id] => sub_xxxxxxxxxIDok
[input_time] => 1615332251
)
-------- Output string/vars: ( Tue, 09 Mar 21 23:24:11 +0000 ) --------
Stripe\Subscription Object
(
[id] => sub_xxxxxxxxxIDok
[object] => subscription
[application_fee_percent] =>
[billing] => charge_automatically
[billing_cycle_anchor] => 1615213274
[billing_thresholds] =>
[cancel_at] =>
[cancel_at_period_end] =>
[canceled_at] =>
[collection_method] => charge_automatically
[created] => 1615213274
[current_period_end] => 1617891674
[current_period_start] => 1615213274
[customer] => cus_xxxxxxxxIDok
[days_until_due] =>
[default_payment_method] =>
[default_source] =>
[default_tax_rates] => Array
(
)
[discount] =>
[ended_at] =>
[invoice_customer_balance_settings] => Stripe\StripeObject Object
(
[consume_applied_balance_on_void] => 1
)
[items] => Stripe\Collection Object
(
[object] => list
[data] => Array
(
[0] => Stripe\SubscriptionItem Object
(
[id] => si_--NofFoundInStripe-ID
[object] => subscription_item
[billing_thresholds] =>
[created] => 1615213275
[metadata] => Stripe\StripeObject Object
(
)
[plan] => Stripe\Plan Object
(
[id] => price_xxxxxxxxxxxxIDok
[object] => plan
[active] => 1
[aggregate_usage] =>
[amount] => 12000
[amount_decimal] => 12000
[billing_scheme] => per_unit
[created] => 1615213267
[currency] => eur
[interval] => month
[interval_count] => 1
[livemode] => 1
[metadata] => Stripe\StripeObject Object
(
)
[nickname] =>
[product] => prod_xxxxxxxxxIDOk
[tiers] =>
[tiers_mode] =>
[transform_usage] =>
[trial_period_days] =>
[usage_type] => licensed
)
[price] => Stripe\StripeObject Object
(
[id] => price_xxxxxxxxxxxxIDok
[object] => price
[active] => 1
[billing_scheme] => per_unit
[created] => 1615213267
[currency] => eur
[livemode] => 1
[lookup_key] =>
[metadata] => Stripe\StripeObject Object
(
)
[nickname] =>
[product] => prod_xxxxxxxxxIDOk
[recurring] => Stripe\StripeObject Object
(
[aggregate_usage] =>
[interval] => month
[interval_count] => 1
[trial_period_days] =>
[usage_type] => licensed
)
[tiers_mode] =>
[transform_quantity] =>
[type] => recurring
[unit_amount] => 12000
[unit_amount_decimal] => 12000
)
[quantity] => 1
[subscription] => sub_xxxxxxxxxIDok
[tax_rates] => Array
(
)
)
)
[has_more] =>
[total_count] => 1
[url] => /v1/subscription_items?subscription=sub_xxxxxxxxxIDok
)
[latest_invoice] => in_xxxxInvoiceIDOk
[livemode] => 1
[metadata] => Stripe\StripeObject Object
(
)
[next_pending_invoice_item_invoice] =>
[pause_collection] =>
[pending_invoice_item_interval] =>
[pending_setup_intent] =>
[pending_update] =>
[plan] => Stripe\Plan Object
(
[id] => price_xxxxxxxxxxxxIDok
[object] => plan
[active] => 1
[aggregate_usage] =>
[amount] => 12000
[amount_decimal] => 12000
[billing_scheme] => per_unit
[created] => 1615213267
[currency] => eur
[interval] => month
[interval_count] => 1
[livemode] => 1
[metadata] => Stripe\StripeObject Object
(
)
[nickname] =>
[product] => prod_xxxxxxxxxIDOk
[tiers] =>
[tiers_mode] =>
[transform_usage] =>
[trial_period_days] =>
[usage_type] => licensed
)
[quantity] => 1
[schedule] =>
[start] => 1615213274
[start_date] => 1615213274
[status] => active
[tax_percent] =>
[transfer_data] =>
[trial_end] =>
[trial_start] =>
)