-
Notifications
You must be signed in to change notification settings - Fork 239
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
Shopper insights rp2 feature #1256
Conversation
…hts (#1228) * Add methods to ShopperInsightsClient * update unit tests * Add CHANGELOG * Fix typo
* Add shopper insights session ID to paypalRequest * Update factory for paypal request * remove extra setting of email address * Remove optional null and check for null in PayPalRequestFactory * Use String type and fix check for null to prevent run time crashes * Remove DEMO UI updates * Update comment for shopperSessionId * Add experimentalAPI for shopper session Id * Remove unused shopperInsightsSessionIdNullSwitch * Check for null and empty string * Update to use putOpt method for shopperId * Update changelog * Check for null and empty strings for request properties. * Update unit tests * Update test * Update unit tests * Update changelog
* setSessionId from paypalClient * Move analytics instance out of constructor * Update PayPalClient tests to take in a mock analyticsParamRepo * Add unit tests
* Add new shopper session ID analytics param * Fix unit tests * Fix missing analytics * fix lint * Fix lint and add unit tests * update doc string * fix lint
* Add new classes and enums * Update new objects, introduce new method * Use a data class instead * Use the built in functionality to convert the treatment to a string * Update content, update analyticsEventParam to take in a buttonType * Use refactored sendPresentedEvent fun * Remove comments * Update sendPresentedEvent signature * Remove unused methods * Update comments button order * Update comments for button type * Update comments * Update signature * Resolve conflicts * Update PresentmentDetails signature * Update analyticsEvent and add button selected string name * Add comment for shopperSessionId * Update AnalyticsClient * Update unit test * Update presentment signature * Add changelog * Remove shopperSessionId from signature * Remove comment * Remove extra line * Fix lint issues * Newline * Update unit test to test venmo and control type button * Lint issues * Update ButtonOrder * Update keys * PR Comments * Analytics update * Add accessors to enum func to get internal string value * Use upper case notation for enums with a string representation for the page type * Updates * Fix unit test
* fun sendSelectedEvent * Remove PresentmentDetails from selected analytics * Update comment
# Conflicts: # CHANGELOG.md
…-feature # Conflicts: # CHANGELOG.md # PayPal/src/test/java/com/braintreepayments/api/paypal/PayPalClientUnitTest.java
ShopperInsights/src/main/java/com/braintreepayments/api/shopperinsights/PresentmentDetails.kt
Outdated
Show resolved
Hide resolved
Can we do PR step "Tested and confirmed payment flows affected by this change are functioning as expected" to make sure everything is working as expected before merging? |
paymentMethodsDisplayed = paymentMethodsDisplayed | ||
) | ||
) | ||
fun isPayPalAppInstalled(context: Context): Boolean { |
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.
Quick ? - should these methods be marked beta too?
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.
I think that should be unnecessary since the whole class is market as experimental
# Conflicts: # CHANGELOG.md # Demo/src/main/java/com/braintreepayments/demo/PayPalFragment.java # Demo/src/main/java/com/braintreepayments/demo/PayPalRequestFactory.java # PayPal/src/main/java/com/braintreepayments/api/paypal/PayPalCheckoutRequest.kt # PayPal/src/main/java/com/braintreepayments/api/paypal/PayPalRequest.kt # PayPal/src/test/java/com/braintreepayments/api/paypal/PayPalCheckoutRequestUnitTest.java
Summary of changes
Merge ShopperInsights Feature RP2 to main. Updated from main -> rp1 -> rp2.
Checklist
Authors
@jwarmkessel
@warmkesselj