Examples
PayPal donate pattern
Use the shared PayPal donate component and always include a direct PayPal helper link below it.
Donate button example
Having trouble? Open PayPal in a new tab
Configure the hosted button ID via `hostedButtonId` or `VITE_PAYPAL_DONATE_HOSTED_BUTTON_ID`.
Validation checklist
- SDK load success renders the button in the container.
- Missing config shows the component’s non-breaking fallback messaging.
- Helper link always opens PayPal in a new tab and remains visible in JS/no-JS.