-
Notifications
You must be signed in to change notification settings - Fork 561
Pass purchaseData prop to payment components #7507
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
Conversation
Added the purchaseData prop from payOptions to the payment components in PayEmbed. This enables passing additional purchase-related data to the payment flows.
🦋 Changeset detectedLatest commit: e490364 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
""" WalkthroughThe Changes
Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (2)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
Merge activity
|
size-limit report 📦
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7507 +/- ##
==========================================
- Coverage 51.96% 51.96% -0.01%
==========================================
Files 952 952
Lines 64221 64227 +6
Branches 4238 4238
==========================================
+ Hits 33375 33377 +2
- Misses 30739 30743 +4
Partials 107 107
🚀 New features to boost your workflow:
|
Added the purchaseData prop from payOptions to the payment components in PayEmbed. This enables passing additional purchase-related data to the payment flows.
PR-Codex overview
This PR focuses on fixing the propagation of
purchaseData
in thePayEmbed
component to accommodate new widget implementations.Detailed summary
PayEmbed
component to includepurchaseData
fromprops.payOptions
.purchaseData
is typed asRecord<string, unknown> | undefined
.PayEmbed
function to handlepurchaseData
.Summary by CodeRabbit