-
Notifications
You must be signed in to change notification settings - Fork 64
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 SDK token for PayPal domain #172
Conversation
83593d9
to
c33c00a
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #172 +/- ##
==========================================
- Coverage 87.93% 87.75% -0.18%
==========================================
Files 20 20
Lines 489 490 +1
Branches 40 40
==========================================
Hits 430 430
- Misses 59 60 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
src/script.js
Outdated
@@ -338,6 +339,10 @@ export function getUserExperienceFlow(): ?string { | |||
return getSDKAttribute(SDK_SETTINGS.USER_EXPERIENCE_FLOW); | |||
} | |||
|
|||
export function getSDKToken(): ?string { | |||
return isPayPalDomain() ? getSDKAttribute(SDK_SETTINGS.SDK_TOKEN) : ""; |
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.
we should actually remove this check so that the axo project can start using this value too. They are about to go live with a merchant
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.
Makes sense, I'll get this removed
0f1f54c
to
c75e1aa
Compare
Restricting to PayPal domains for now, we will remove/add merchant domains in phases for Alpha/GA