• Resolved Moussaab

    (@moussaab)


    Hello,

    I have a problem with P24 on stripe, the payments are correctly captured by stripe but the order status is either on hold or canceled on woocommerce.

    Please advise

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Payment Plugins

    (@mrclayton)

    Hi @moussaab

    That’s because you haven’t configured your webhook per the plugin documentation.

    It’s required when using local payment methods.

    Kind regards

    Thread Starter Moussaab

    (@moussaab)

    Hello @mrclayton and thank you for your quick answer.

    So I followed the guide and created the webhook. One order went through correctly but others did not.

    Also I got this message : The payment pi_xxxx for PLN 129.00 requires you to take action in order to complete the payment.

    In addition, I checked the logs and I see this message too:

    2021-09-07T17:41:24+00:00 INFO Array
    (
        [Webhook Delivery] => Array
            (
                [Delivery ID] => 65ce19059f3b26f9846c47f273bfe19f
                [Date] => Sep 7, 2021 @ 17:41
                [URL] => https://woo-hook-pro.dsers.com/hook/woo/order/updated/c46qtjsi5nq000afh5q0
                [Duration] => 1.0003
                [Request] => Array
                    (
                        [Method] => POST
                        [Headers] => Array
                            (
                                [User-Agent] => WooCommerce/5.6.0 Hookshot (WordPress/5.8)
                                [Content-Type] => application/json
                                [X-WC-Webhook-Source] => https://cleeble.pl/
                                [X-WC-Webhook-Topic] => order.updated
                                [X-WC-Webhook-Resource] => order
                                [X-WC-Webhook-Event] => updated
                                [X-WC-Webhook-Signature] => /nZHke+2kWnZ+QhCfyyPKYvOHbEe0m+IyMONIe5fZf8=
                                [X-WC-Webhook-ID] => 2
                                [X-WC-Webhook-Delivery-ID] => 65ce19059f3b26f9846c47f273bfe19f
                            )
    
                    )
    
                [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs.
                [Response] => Array
                    (
                        [Code] => 200
                        [Message] => OK
                        [Headers] => Requests_Utility_CaseInsensitiveDictionary Object
                            (
                                [data:protected] => Array
                                    (
                                        [server] => Tengine
                                        [content-type] => application/octet-stream
                                        [content-length] => 0
                                        [date] => Tue, 07 Sep 2021 17:41:24 GMT
                                        [via] => cache8.l2cn1850[211,0], cache7.gb2[967,0]
                                        [timing-allow-origin] => *
                                        [eagleid] => a3b5399b16310364836562618e
                                    )
    
                            )
    
                        [Body] => Webhook body is not logged unless WP_DEBUG mode is turned on. This is to avoid the storing of personal data in the logs.
                    )
    
            )
    
    )

    Is this normal? or is there a problem with the webhook?

    Thank you so much

    Thread Starter Moussaab

    (@moussaab)

    Hi again @mrclayton ,

    I have another issue with the P24, all my last orders are marked as “incomplete” and then “canceled” after few minutes. I have 6 orders like this.

    Did I do something wrong?

    Plugin Author Payment Plugins

    (@mrclayton)

    @moussaab That log message is not generated by my plugin. Make sure you’re actually using Stripe for WooCommerce and not some other Stripe plugin.

    If you have multiple Stripe plugins enabled then I recommend you choose one.

    Kind Regards,

    Thread Starter Moussaab

    (@moussaab)

    @mrclayton I only use Stripe For WooCommerce plugin.

    Plugin Author Payment Plugins

    (@mrclayton)

    Make sure your webhook test is succesull in the Stripe.com dashboard. Check the logs to see if there are delivery failures.

    When order’s are cancelled it’s because the webhook is not received and WooCommerce cancels orders after a certain amount of time has passed without payment for an order.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Przelewy24 order status problem’ is closed to new replies.