Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purchase event triggered on canceled order. #227

Open
JoostWan opened this issue Apr 9, 2024 · 0 comments
Open

Purchase event triggered on canceled order. #227

JoostWan opened this issue Apr 9, 2024 · 0 comments

Comments

@JoostWan
Copy link

JoostWan commented Apr 9, 2024

  1. Place an order using a payment method such as iDeal through Multisafepay.
  2. Cancel the payment on the bank's page; you will be redirected back to the shop with the cart intact.
  3. At this moment, the purchase event is triggered on the event sales_order_place_after.

The order state is, at that moment, pending_payment, and a few seconds later, it will be set to canceled.

https://github.com/yireo/Yireo_GoogleTagManager2/blob/master/etc/frontend/events.xml#L32

Is it possible to show the purchase tag/event only on the checkout_onepage_success page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant