• Resolved abdullahnxb

    (@abdullahnxb)


    Hello

    I am facing issue with the 3d secure payments. After updating the Stripe plugin to version 4.2.2 and WooCommerce to 3.6.5 i tested checkout with test stripe credit cards.

    All working fine, only issue is with 3d secure payments. I am using woocommerce_order_status_processing woocommerce hook for some custom logic and on 3d secure payments, this hook didn’t initiate although i can see order notes about ‘Order status changed from Pending Payment to Processing’.

    Also i am not able to get the card details, for example, card last 4 and card brand. I am using stripe hook wc_gateway_stripe_process_response for getting the card detail. It work fine for all other payments just not for 3d secure payments.
    Code given below

    add_action( 'wc_gateway_stripe_process_response', 'etr_process_payment_logging', 10, 2 );
    function etr_process_payment_logging( $response, $order ) {
        update_post_meta( $order->get_id(), 'Stripe Last4', $response->source->card->last4.' ('.$response->source->card->brand.')' );
    }

    Above code give me () instead of 4242(visa)

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Payments with 3d secure not initiate woocommerce hooks’ is closed to new replies.