Skip to content

Conversation

@EvanReinstein
Copy link
Contributor

@EvanReinstein EvanReinstein commented Dec 3, 2025

This PR adds a React hook to facilitate the basic paypal-message session creation and also provide access to 2 methods fetchContent and createLearnMore, which are used by merchants to enhance/customize the PayLater messaging.

@EvanReinstein EvanReinstein requested a review from a team as a code owner December 3, 2025 19:51
@changeset-bot
Copy link

changeset-bot bot commented Dec 3, 2025

🦋 Changeset detected

Latest commit: 1941983

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@paypal/react-paypal-js Patch

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

) => Promise<MessageContent | void>;
};

export function usePayPalMessages({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be helpful to add some documentation how to use this hook?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants