Open ribeiroguilherme opened 4 days ago
Latest commit: 300c8b67d9430e3b5c63ce26d964375bd3eaa56b
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
Size Change: +4.43 kB (+0.58%)
Total Size: 772 kB
Filename | Size | Change | |
---|---|---|---|
packages/lib/dist/es-legacy/components/index.js |
1.03 kB | +33 B (+3.29%) | |
packages/lib/dist/es-legacy/index.js |
1.11 kB | +32 B (+2.97%) | |
packages/lib/dist/es/components/index.js |
1.03 kB | +33 B (+3.29%) | |
packages/lib/dist/es/index.js |
1.11 kB | +32 B (+2.97%) | |
packages/lib/dist/umd/adyen.js |
125 kB | +936 B (+0.75%) | |
packages/lib/dist/es-legacy/components/PayPalFastlane/FastlaneSDK.js |
1.16 kB | +1.16 kB (new file) | đ |
packages/lib/dist/es-legacy/components/PayPalFastlane/initializeFastlane.js |
156 B | +156 B (new file) | đ |
packages/lib/dist/es-legacy/components/PayPalFastlane/services/request-fastlane-token.js |
217 B | +217 B (new file) | đ |
packages/lib/dist/es-legacy/components/PayPalFastlane/utils/convert-locale.js |
146 B | +146 B (new file) | đ |
packages/lib/dist/es/components/PayPalFastlane/FastlaneSDK.js |
1.16 kB | +1.16 kB (new file) | đ |
packages/lib/dist/es/components/PayPalFastlane/initializeFastlane.js |
156 B | +156 B (new file) | đ |
packages/lib/dist/es/components/PayPalFastlane/services/request-fastlane-token.js |
217 B | +217 B (new file) | đ |
packages/lib/dist/es/components/PayPalFastlane/utils/convert-locale.js |
146 B | +146 B (new file) | đ |
Path | Size |
---|---|
UMD | 99.95 KB (+0.56% đē) |
Auto | 106.98 KB (+0.73% đē) |
ESM - Core | 24.58 KB (0%) |
ESM - Core + Card | 61.36 KB (0%) |
ESM - Core + Dropin with Card | 65.88 KB (0%) |
Issues
4 New issues
0 Accepted issues
Measures
0 Security Hotspots
87.0% Coverage on New Code
0.0% Duplication on New Code
Summary
initializeFastlane
)request-fastlane-token.ts
currently does not work and is being fixed by LPMHow it works:
Merchant initializes Fastlane by doing:
Then, once the shopper email is collected by the merchant, the merchant triggers the authentication flow by doing:
The
authResult
may contain the shopper profile with his Card or just the flag saying profile was not found. Based on that, the merchant can request the Adyen Component configuration:The configuration will contain the config related to Fastlane component or Card component based on the
authResult
. (For Card we need the consent details data, whereas for Fastlane we need the last four digits, brand, etc)..Bonus: The merchant can also mount the Fastlane watermark by doing: