-
Notifications
You must be signed in to change notification settings - Fork 295
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
Send PayPal correlation_id
in analytics payload
#1108
Conversation
…istency w/ error case
Sources/BraintreePayPalNativeCheckout/BTPayPalNativeCheckoutClient.swift
Outdated
Show resolved
Hide resolved
I personally don't think we need to wait on these. I feel like MXO being easily testable is a long ways off. With the analytics ticket maybe we can prioritize that in the next few sprints? I feel like that one may be a bit easier to tackle sooner but still not a blocker. |
Cool, yeh I'm down for not blocking this! The testing story on MXO won't change, realistically. So we'll have to do something like PPCP with a wrapper protocol. It's possible, but a pain :/. We could also explore if OCMock makes things easier too (I captured this in the ticket). |
UI Test failures are unrelated :/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
Summary
Currently, we cannot tie our analytics to a PayPal correlationID (aka clientMetadataID) because we are not sending the value in our analytics batch payload. We recently had a Slack inbound where this data would be extremely helpful for handoff to the underlying PP Web or PP NXO team to do further investigation on the specific PayPal transaction.
Changes
FPTIBatchData
to sendcorrelation_id
at the event level (I verified that I can see these values populate in FPTI event explorer)BTAnalyticsService
to accept an optionalcorrelationID
paramclientMetadataID
in BTPayPalWebClientclientMetadataID
& send in analytics for BTPayPalNativeCheckoutClientFeedback/Questions
Checklist
Authors
@scannillo