Skip to content

Implement PayPal payment adapter#82

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
Photon101:photon101/payment-paypal-adapter
May 13, 2026
Merged

Implement PayPal payment adapter#82
ralyodio merged 1 commit into
profullstack:masterfrom
Photon101:photon101/payment-paypal-adapter

Conversation

@Photon101
Copy link
Copy Markdown
Contributor

Summary

Replaces the PayPal payment stub with a real REST-backed adapter for one-time orders, subscriptions, and webhook verification. The adapter now obtains OAuth client-credentials tokens, creates Orders v2 checkout sessions, creates Subscriptions v1 approval flows from plan IDs, verifies webhook signatures through PayPal, and normalizes capture/subscription webhook fields into the shared payment interface.

Validation

  • git diff --check
  • corepack pnpm exec vitest run packages/payments/paypal/src/index.test.ts
  • corepack pnpm exec tsc -p packages/payments/paypal/tsconfig.json --noEmit

@ralyodio ralyodio self-assigned this May 13, 2026
@ralyodio ralyodio merged commit ae75f02 into profullstack:master May 13, 2026
2 checks passed
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.

2 participants