-
Notifications
You must be signed in to change notification settings - Fork 570
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
Add ShopperInsights component #2286
Conversation
114d63b
to
26eefe3
Compare
8f043a7
to
b51301b
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2286 +/- ##
=======================================
Coverage 51.18% 51.18%
=======================================
Files 104 104
Lines 2032 2032
Branches 601 601
=======================================
Hits 1040 1040
Misses 889 889
Partials 103 103
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
b51301b
to
b61e125
Compare
394caaa
to
d957a1b
Compare
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.
lookin' pretty dang slick
1e0d0d9
to
ee092c5
Compare
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.
💯 awesome work!!
This PR adds a new Shopper Insights component which exposes a
getRecommendedPaymentMethods({})
helper intended for combined use with the SPBs to present PayPal or Venmo upstream. It is also initially a protected export accessible on the PayPal domain until we open up the feature.Right now we are using existing kraken libraries to support the requests (Belter, ZalgoPromise) but we will be creating a separate PR to use the fetch API. We wanted to break this out so that we can get more dedicated feedback on that separately.