Forum Replies Created

Viewing 15 replies - 1 through 15 (of 65 total)
  • Thread Starter Enrique J. Ros

    (@enriquejros)

    ?? I see you have no intention of doing things properly. Thanks anyway.

    Thread Starter Enrique J. Ros

    (@enriquejros)

    Hi @chouseal

    It was solved in one of the subsequent updates.

    Regards

    Thread Starter Enrique J. Ros

    (@enriquejros)

    gotcha

    Thread Starter Enrique J. Ros

    (@enriquejros)

    I agree with Daniele. This is not a WooCommerce Subscriptions issue, but a WooCommerce Stripe Payment Gateway issue, which specifically supports Woo Subscriptions.

    Regards

    Thread Starter Enrique J. Ros

    (@enriquejros)

    Hi @omarfpg

    The issue just happens with renewal orders (using WooCommerce Subscriptions), it’s working fine with simple products or even new subscription orders.

    The log for the last renewal order (personal data have been hidden):

    2024-07-12T22:50:13+00:00 Depuración
    ====Stripe Version: 8.5.1====
    ====Stripe Plugin API Version: 2024-06-20====
    ====Start Log====
    Info: Begin processing subscription payment for order 217175 for the amount of 9.90
    ====End Log====

    2024-07-12T22:50:13+00:00 Depuración
    ====Stripe Version: 8.5.1====
    ====Stripe Plugin API Version: 2024-06-20====
    ====Start Log====
    payment_intents request: Array
    (
    [amount] => 990
    [currency] => eur
    [description] => **
    [metadata] => Array
    (
    [customer_name] => **
    [customer_email] => **
    [order_id] => 217175
    [site_url] => https://**.com
    [payment_type] => recurring
    )

    [payment_method_types] => Array
        (
            [0] => card
        )
    
    [off_session] => true
    [confirm] => true
    [confirmation_method] => automatic
    [customer] => cus_NPcFF5OM3snx2s
    [source] => src_1MesroEaUpLPTsBhHzXMAgtM
    [payment_method_options] => Array
        (
            [card] => Array
                (
                    [mandate_options] => Array
                        (
                            [amount_type] => fixed
                            [interval] => month
                            [interval_count] => 1
                            [amount] => 990
                            [reference] => 217175
                            [start_date] => 1720824613
                            [supported_types] => Array
                                (
                                    [0] => india
                                )
    
                        )
    
                )
    
        )

    )

    ====End Log====

    2024-07-12T22:50:14+00:00 Depuración
    ====Stripe Version: 8.5.1====
    ====Stripe Plugin API Version: 2024-06-20====
    ====Start Log====
    payment_intents response with stripe-version: 2024-06-20
    ====End Log====

    2024-07-12T22:50:14+00:00 Depuración
    ====Stripe Version: 8.5.1====
    ====Stripe Plugin API Version: 2024-06-20====
    ====Start Log====
    Stripe PaymentIntent pi_3PbsI5EaUpLPTsBh1sfb428A initiated for order 217175
    ====End Log====

    2024-07-12T22:50:14+00:00 Depuración
    ====Stripe Version: 8.5.1====
    ====Stripe Plugin API Version: 2024-06-20====
    ====Start Log====
    charges/ch_3PbsI5EaUpLPTsBh1wd3hmx8 request: Array
    (
    )

    ====End Log====

    2024-07-12T22:50:15+00:00 Depuración
    ====Stripe Version: 8.5.1====
    ====Stripe Plugin API Version: 2024-06-20====
    ====Start Log====
    charges/ch_3PbsI5EaUpLPTsBh1wd3hmx8 response with stripe-version: 2024-06-20
    ====End Log====

    2024-07-12T22:50:15+00:00 Depuración
    ====Stripe Version: 8.5.1====
    ====Stripe Plugin API Version: 2024-06-20====
    ====Start Log====
    charges/ch_3PbsI5EaUpLPTsBh1wd3hmx8 request: Array
    (
    )

    ====End Log====

    2024-07-12T22:50:15+00:00 Depuración
    ====Stripe Version: 8.5.1====
    ====Stripe Plugin API Version: 2024-06-20====
    ====Start Log====
    charges/ch_3PbsI5EaUpLPTsBh1wd3hmx8 response with stripe-version: 2024-06-20
    ====End Log====

    2024-07-12T22:50:15+00:00 Depuración
    ====Stripe Version: 8.5.1====
    ====Stripe Plugin API Version: 2024-06-20====
    ====Start Log====
    Processing response: stdClass Object
    (
    [id] => ch_3PbsI5EaUpLPTsBh1wd3hmx8
    [object] => charge
    [amount] => 990
    [amount_captured] => 990
    [amount_refunded] => 0
    [application] =>
    [application_fee] =>
    [application_fee_amount] =>
    [balance_transaction] =>
    [billing_details] => stdClass Object
    (
    [address] => stdClass Object
    (
    [city] => **
    [country] => AR
    [line1] => **
    [line2] =>
    [postal_code] => 7600
    [state] => B
    )

            [email] => ****************
            [name] => ****************
            [phone] => 
        )
    
    [calculated_statement_descriptor] => ****************
    [captured] => 1
    [created] => 1720824613
    [currency] => eur
    [customer] => ****************
    [description] => ****************
    [destination] => 
    [dispute] => 
    [disputed] => 
    [failure_balance_transaction] => 
    [failure_code] => 
    [failure_message] => 
    [fraud_details] => stdClass Object
        (
        )
    
    [invoice] => 
    [livemode] => 1
    [metadata] => stdClass Object
        (
            [customer_email] => ****************
            [customer_name] => ****************
            [order_id] => 217175
            [payment_type] => recurring
            [site_url] => ****************
        )
    
    [on_behalf_of] => 
    [order] => 
    [outcome] => stdClass Object
        (
            [network_status] => approved_by_network
            [reason] => 
            [risk_level] => normal
            [seller_message] => Payment complete.
            [type] => authorized
        )
    
    [paid] => 1
    [payment_intent] => ****************
    [payment_method] => ****************
    [payment_method_details] => stdClass Object
        (
            [card] => stdClass Object
                (
                    [amount_authorized] => 990
                    [brand] => visa
                    [checks] => stdClass Object
                        (
                            [address_line1_check] => unavailable
                            [address_postal_code_check] => unavailable
                            [cvc_check] => 
                        )
    
                    [country] => AR
                    [exp_month] => 9
                    [exp_year] => 2027
                    [extended_authorization] => stdClass Object
                        (
                            [status] => disabled
                        )
    
                    [fingerprint] => 7cDyJhbhnEWW8Iom
                    [funding] => debit
                    [incremental_authorization] => stdClass Object
                        (
                            [status] => unavailable
                        )
    
                    [installments] => 
                    [last4] => 3784
                    [mandate] => 
                    [multicapture] => stdClass Object
                        (
                            [status] => unavailable
                        )
    
                    [network] => visa
                    [network_token] => stdClass Object
                        (
                            [used] => 1
                        )
    
                    [overcapture] => stdClass Object
                        (
                            [maximum_amount_capturable] => 990
                            [status] => unavailable
                        )
    
                    [three_d_secure] => 
                    [wallet] => 
                )
    
            [type] => card
        )
    
    [radar_options] => stdClass Object
        (
        )
    
    [receipt_email] => ****************
    [receipt_number] => 
    [receipt_url] => https://pay.stripe.com/receipts/payment/****************
    [refunded] => 
    [review] => 
    [shipping] => 
    [source] => stdClass Object
        (
            [id] => ****************
            [object] => source
            [amount] => 
            [card] => stdClass Object
                (
                    [address_line1_check] => unavailable
                    [address_zip_check] => unavailable
                    [brand] => Visa
                    [country] => AR
                    [cvc_check] => 
                    [dynamic_last4] => 
                    [exp_month] => 9
                    [exp_year] => 2027
                    [fingerprint] => 7cDyJhbhnEWW8Iom
                    [funding] => debit
                    [last4] => 3784
                    [name] => 
                    [three_d_secure] => optional
                    [tokenization_method] => 
                )
    
            [client_secret] => ****************
            [created] => 1720824614
            [currency] => 
            [customer] => cus_NPcFF5OM3snx2s
            [flow] => none
            [livemode] => 1
            [metadata] => stdClass Object
                (
                )
    
            [owner] => stdClass Object
                (
                    [address] => stdClass Object
                        (
                            [city] => ****************
                            [country] => AR
                            [line1] => ****************
                            [line2] => 
                            [postal_code] => 7600
                            [state] => B
                        )
    
                    [email] => ****************
                    [name] => ****************
                    [phone] => 
                    [verified_address] => 
                    [verified_email] => 
                    [verified_name] => 
                    [verified_phone] => 
                )
    
            [statement_descriptor] => 
            [status] => chargeable
            [type] => card
            [usage] => reusable
        )
    
    [source_transfer] => 
    [statement_descriptor] => 
    [statement_descriptor_suffix] => 
    [status] => succeeded
    [transfer_data] => 
    [transfer_group] => 

    )

    ====End Log====

    Regards.

    Thread Starter Enrique J. Ros

    (@enriquejros)

    Hi @doublezed2

    Sure! https://snipboard.io/oO37pF.jpg

    Upper image is a renewal order pre-8.5.0, the lower one is with 8.5.0. I have just updated to 8.5.1, couldn’t check yet.

    Regards

    Thread Starter Enrique J. Ros

    (@enriquejros)

    Hi again

    It seems to happen only on renovation (WooCommerce Subscriptions) orders, not on new orders.

    Regards.

    Plugin Author Enrique J. Ros

    (@enriquejros)

    Hi jacquijax

    It’s the plugin you’re using to create that table that’s setting the text, instead of using the one WooCommerce sets.

    Regards.

    Thread Starter Enrique J. Ros

    (@enriquejros)

    Solved, many thanks!

    P.S. It was caused by the sync HPOS feature

    Thread Starter Enrique J. Ros

    (@enriquejros)

    Hi @alexmigf

    Yes, that seems the cause for the error, and adding the “continue” in ArrayUtils.php as seen in the proporsed fix solves the error. However, the issue with PDF IPS continues: the number increases but the document is not generated.

    Regards.

    Thread Starter Enrique J. Ros

    (@enriquejros)

    Hi Yordan

    Many thanks for your response. The only error found is as follows:

    [15-Aug-2023 10:43:46 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to Automattic\WooCommerce\Utilities\ArrayUtil::deep_assoc_array_diff() must be of the type array, null given, called in /home/customer/www/magisteriodeaudicionylenguaje.com/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php on line 257 and defined in /home/customer/www/magisteriodeaudicionylenguaje.com/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php:233 Stack trace: #0 /home/customer/www/magisteriodeaudicionylenguaje.com/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php(257): Automattic\WooCommerce\Utilities\ArrayUtil::deep_assoc_array_diff(Array, NULL, true) #1 /home/customer/www/magisteriodeaudicionylenguaje.com/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php(234): Automattic\WooCommerce\Utilities\ArrayUtil::deep_compute_or_compare_array_diff(Array, Array, false, true) #2 /home/customer/www/magisteriodeaudicionylenguaje.com/public_html/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/OrdersTableDataStore.php(1307): Automattic\WooCommerce\Utilities\ArrayUtil::d in /home/customer/www/magisteriodeaudicionylenguaje.com/public_html/wp-content/plugins/woocommerce/src/Utilities/ArrayUtil.php on line 233

    Also, this is the file you requested: https://file.io/W9TR3fFcEtgz

    Many thanks, regards

    Thread Starter Enrique J. Ros

    (@enriquejros)

    Thank you

    Thread Starter Enrique J. Ros

    (@enriquejros)

    That solved the issue, thank you! Anyway, some time ago the link straight_to_gateway used to get the customer straight to the payment gateway (PayPal in my case); now (I don’t know since when) the customer is taken to the checkout process. Is there a way to take the customer to PayPal without having to check out?

    Thread Starter Enrique J. Ros

    (@enriquejros)

    Thread Starter Enrique J. Ros

    (@enriquejros)

    Hi again

    Yes, I can see those categories there but the cookie message doesn’t shows the switches under the settings sections. How can I make them appear?

    Many thanks

Viewing 15 replies - 1 through 15 (of 65 total)