
PayPal Developer Platform
Explore APIs and SDKs, demo product experiences, and participate in our developer community.
<script src="https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID&components=YOUR_COMPONENTS"></script>import { PayPalScriptProvider, PayPalButtons } from "@paypal/react-paypal-js";
export default function App() {
const initialOptions = {
clientId: "YOUR_CLIENT_ID",
// Add other options as needed
};
return (
<div className="App">
<PayPalScriptProvider options={initialOptions}>
<PayPalButtons />
</PayPalScriptProvider>
</div>
);
}Get ahead with
PayPal AI
PayPal AIGet paid with
Payments
PaymentsNews and information
PayPal Developer Days
Last updated
Was this helpful?











