Ben369369

PayPal Checkout Integrator — Git skill for Claude Code

Git community

A GitHub App by Chui Labs that adds PayPal checkout to a Stripe-only Next.js store using a Claude agent, proves it with real PayPal sandbox purchases, and opens a pull request.

How to install PayPal Checkout Integrator

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Ben369369/PayPal-Checkout-Integrator and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What PayPal Checkout Integrator does

A GitHub App by Chui Labs that adds PayPal checkout to a Stripe-only Next.js store using a Claude agent, proves it with real PayPal sandbox purchases, and opens a pull request. Every later PR gets a "PayPal checkout" check.

Alternatives in Git

  • Claude Composer — by Mike Bannister - A tool that adds small enhancements to Claude Code 680 ★
  • Cmt — When user uses /cmt slash command, commit current git changes using fast mode by default, or strict mode when 301 ★
  • Claudio — by Christopher Toth - A no-frills little library that adds delightful OS-native sounds to Claude Code via simp 71 ★

README

PayPal Checkout Integrator

**by Chui Labs**

A GitHub App that adds PayPal checkout to a Stripe-only store, proves it works with a real PayPal sandbox purchase, and opens a pull request. Once merged, it re-runs that sandbox purchase as a **"PayPal checkout"** check on every later pull request.

The AI writes the code. It never decides whether the code works: deterministic checks and PayPal's own API do.

Built for the PayPal AI Hackathon. Sandbox and Stripe test mode only.

What it does

  1. Reads your store. A Claude agent (claude-opus-5-5) maps the checkout, cart, order model, and every Stripe file, then writes a file plan for you to approve.
  2. Writes the integration. The server uses the APIMatic-generated @paypal/paypal-server-sdk for Orders v2 and refunds; the browser uses the PayPal JS SDK v6 button and Pay Later messaging. The agent checks SDK names against the installed types and APIMatic's Context Plugin before using them, and never touches Stripe files.
  3. Proves it. A harness builds the branch and buys things with a real PayPal sandbox account, then confirms the result with PayPal's API, the store's database, and the same cart bought through Stripe.
  4. Repairs and ships. If a check fails, the agent gets the exact evidence and fixes only the files involved (at most 4 rounds). Then it opens a PR with a scenario table and a link to the run report.

The nine scenarios

# Scenario Passes when
1 Single item PayPal API says COMPLETED; order paid; DB rows match the same Stripe purchase
2 Several items with quantities Capture equals the cart total to the cent; line items match
3 Buyer cancels in the popup No paid order; cart intact
4 Payment declined Buyer sees an error; no paid order
5 Webhook delivered twice A real signed event is fulfilled exactly once
6 Forged webhook Rejected, including a real signature on an altered body
7 Tampered price from the browser