Skip to content

add_shipping_info and add_payment_info events not triggered with Hyvä Checkout auto-select #280

@Ylmzef

Description

@Ylmzef

Hello,

I’m using Hyvä Checkout together with this extension and noticed that some GA4 events are not firing.

Steps to reproduce

  1. Install yireo/magento2-googletagmanager2

  2. Install yireo/magento2-googletagmanager2-hyva-checkout

  3. In Hyvä Checkout settings enable:

    • Enable first available payment method automatically
    • Enable first available shipping method automatically
  4. Go through checkout.

Expected result

  • add_shipping_info should be triggered when the shipping method is auto-selected.
  • add_payment_info should be triggered when the payment method is auto-selected.

Actual result

  • Only begin_checkout event is triggered.
  • add_shipping_info and add_payment_info events are not fired when the first available methods are applied automatically.

Notes

  • When customers manually select a shipping or payment method, the events do fire.
  • Issue only occurs when using the auto-selection feature of Hyvä Checkout.

Could you please check if the auto-selection should trigger these events, or if additional integration is needed?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions