Skip to content

Conversation

EvanReinstein
Copy link
Contributor

This PR demonstrates the usage of a custom React hook to create a One Time Payment session for the PayPal Button.

Some other features of note:

  • Moves merchant callbacks to the button for sake of ease.
  • Merchant callbacks leverage useCallback in order to prevent re-render issues.

@gregjopa gregjopa deleted the demo/react-adr branch July 24, 2025 14:34
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.

1 participant