Skip to main content

PayPal BFF components

ComponentResponsibility
Create-order routeValidate item identifiers and quantities, reconstruct trusted totals, and request a Sandbox order.
Capture-order routeValidate the order reference and capture through PayPal Sandbox.
PayPal clientAcquire a server-side access token, apply timeouts, and map vendor failures without exposing credentials.
Catalog pricing boundaryReject unknown items and browser-supplied prices.

Production endpoints are prohibited. Runtime configuration must explicitly select sandbox and provide credentials through the approved secret path.