Closed pmcpinto closed 3 years ago
@pmcpinto I'm seeing the connection event that we trigger in others. The only difference is that this is only fired upon successful connection when returning back from the payment provider's website.
Were you expecting something different or does this event not fire for you at all?
Gotcha. So ideally we should have a new event to track when they click to start the connection flow: wcadmin_tasklist_payment_connect_start
Event prop: payment_method
: payment gateway name
Let me know if you have more questions. Thanks.
Hi @pmcpinto,
I was working on this issue and just wanted to confirm that you checked out the event wcadmin_tasklist_payment_setup
. That event will be recorded after pressing the Set Up
button for a payment gateway, sending the selected option.
The addition of the event wcadmin_payments_task_stepper_view
only will be useful if the user refreshes that page, otherwise, it would be a little bit redundant.
Also, I wanted to confirm if we need to record the starting of every payment connection flow or only for PayPal and Stripe. I understood that we need it for each of them but just wanted to confirm.
Also, I wanted to confirm if we need to record the starting of every payment connection flow or only for PayPal and Stripe. I understood that we need it for each of them but just wanted to confirm.
I'm asking this because there are other connection flow beginnings that we are not tracking (like Square).
@octaedro sorry, I missed your pings
I was working on this issue and just wanted to confirm that you checked out the event wcadmin_tasklist_payment_setup. That event will be recorded after pressing the Set Up button for a payment gateway, sending the selected option.
That event is working properly. I was referring to the button on the 2nd step: https://d.pr/i/uqq8kX
The addition of the event wcadmin_payments_task_stepper_view only will be useful if the user refreshes that page, otherwise, it would be a little bit redundant.
I'm suggesting adding this event because currently we don't have a way to identify how many pageviews the stepper is getting, if the users are visiting it more than once, etc. Unless I'm missing something
Also, I wanted to confirm if we need to record the starting of every payment connection flow or only for PayPal and Stripe. I understood that we need it for each of them but just wanted to confirm.
Can you also include Square? i think it's the only one missing. Thanks!
Hi @pmcpinto,
Thank you for your response.
Can you also include Square? i think it's the only one missing.
Also, we're missing eWAY (for AU and NZ) and generic gateways like PayFast (for ZA) and PayStack (for ZA, GH, and NG). I'll add the event recording to the starting of those connections flows too.
Describe the bug Some events are missing when the user is interacting with the Payments task.
To Reproduce Steps to reproduce the behavior:
Expected behavior
wcadmin_payments_task_stepper_view
) or a newpath
value (eg payments_stepper) inwcadmin_page_view
wcadmin_tasklist_payment_connect_method
when they click "Connect" in Stripe or PayPal (AFAIK this is the event that we're triggering when they click on the CTA of the 2nd step on other gateways, like Klarna or Mollie)