Support » Plugin: WooCommerce Stripe Payment Gateway » Issue with 3d secure payments

  • Resolved abdullahnxb

    (@abdullahnxb)


    Hello

    i am facing issue with the 3d secure payments. I am using WooCommerce hook woocommerce_order_status_processing to execute some custom logic, in this logic i need the currently logged in user and some data from session.

    Now issue i am facing is, with 3d secure payments from stripe, get_current_user_id() function returns 0 but the user is already logged in and session variable, like, $_SESSION['data_key'] gives null although it is set before checkout and available even after the payment process. But not at the time of execution of this hook.

    This issue is only with 3ds payments, all working well with normal (non 3ds) payments.

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Thomas Shellberg

    (@shellbeezy)

    Automattic Happiness Engineer

    Hey @abdullahnxb,

    Have you tried with an alternative hook, something like woocommerce_payment_complete?

    Plugin Support Thomas Shellberg

    (@shellbeezy)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with 3d secure payments’ is closed to new replies.