agentleFS
openamer-maxopenamer-max/max-scripts/skills/marketing/payment-integration/SKILL.md

payment-integration

Skill2 starsChanged 39 days agoApache-2.0View on GitHub

OSS donation setup: PayPal buttons, badges, SPONSORS.md.

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use Problem-Solving Techniques, ads-management and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • truongtv22Skill

    Problem-Solving Techniques

    Apply systematic problem-solving techniques for complexity spirals (simplification cascades), innovation blocks (collision-zone thinking), recurring patterns (meta-pattern recognition), assumption constraints (inversion exercise), scale uncertainty (scale game), and dispatch when stuck. Techniques derived from Microsoft Amplifier project patterns adapted for immediate application.

    Also in 6 projects that use this

  • OpenAnalystIncSkill

    ads-management

    Activate for paid advertising campaigns on Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads. Includes ad copywriting, audience targeting, budget optimization, A/B testing, and ROAS tracking. Used by ads-specialist and campaign-manager agents.

    Also in 3 projects that use this

  • OpenAnalystIncSkill

    ai-artist

    Write and optimize prompts for AI-generated outcomes across text and image models. Use when crafting prompts for LLMs (Claude, GPT, Gemini), image generators (Midjourney, DALL-E, Stable Diffusion, Imagen, Flux), or video generators (Veo, Runway). Covers prompt structure, style keywords, negative prompts, chain-of-thought, few-shot examples, iterative refinement, and domain-specific patterns for marketing, code, and creative writing.

    Also in 3 projects that use this

  • truongtv22Skill

    mobile-development

    Build modern mobile applications with React Native, Flutter, Swift/SwiftUI, and Kotlin/Jetpack Compose. Covers mobile-first design principles, performance optimization (battery, memory, network), offline-first architecture, platform-specific guidelines (iOS HIG, Material Design), testing strategies, security best practices, accessibility, app store deployment, and mobile development mindset. Use when building mobile apps, implementing mobile UX patterns, optimizing for mobile constraints, or making native vs cross-platform decisions.

    Also in 4 projects that use this

  • sumuligeSkill

    seo-optimization

    SEO best practices for Git, documentation, and web projects

    Also in 3 projects that use this

  • claude-office-skillsSkill

    email-marketing

    Email marketing automation - campaign creation, sequence building, A/B testing, deliverability optimization, and analytics

    Also in 3 projects that use this

  • +6 more from OpenAnalystInc

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    After creation, PayPal provides:

    line 49
  2. Very specific:

    Add the PayPal SDK script to <head> on every page that hosts a button:

    line 57
  3. Very specific:

    Add the container div + render script in <body> where the button should appear:

    line 69
  4. Distinctive:

    Add a PayPal section with the direct payment link:

    line 102

“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Payment Integration for OSS Donations & Support

Class-level skill for setting up payment/donation infrastructure on an open-source project. Covers the full pipeline from creating payment buttons on PayPal through embedding on the website to updating all public-facing surfaces (README, SPONSORS.md, landing page).

Load: skill_view(name='payment-integration') When: User asks about adding PayPal, donation buttons, payment links, sponsors page, or Zahlungslinks for an OSS project.

Related: open-source-project-launch for the promotion phase after payment infrastructure is live.


Full Workflow

Step 1 — Create Payment Button on PayPal

Navigate to https://www.paypal.com/buttons/saved (logged in).

  • Zahlungslink & QR-Code — for sharing directly (no website needed). Get a shareable URL like paypal.com/ncp/payment/<HOSTED_ID>.
  • Zahlungsbuttons — for embedding in HTML/website. Choose button style (gold, blue, silver), shape (rect/pill), size.

Product fields:

FieldExample
Artikelname"OpenAmer Supporter" / "Skill-Pack Support"
Beschreibung"Skill-Pack / Plugin Käufe"
PreisFestpreis or "Vom Kunden festgelegter Preis"
WährungEUR, USD, etc.
AnzahlMulti-buy toggle

After creation, PayPal provides:

  • Hosted Button ID (e.g. 3HMBFYC9CQTMS)
  • SDK snippet for <head>
  • Container snippet for <body>
  • PDF download with detailed instructions

Step 2 — Embed SDK in Website

Add the PayPal SDK script to <head> on every page that hosts a button:

<script src="https://www.paypal.com/sdk/js?client-id=<YOUR_CLIENT_ID>&components=hosted-buttons&disable-funding=venmo&currency=EUR">
</script>

The hosted-buttons component is required for hosted button rendering. The disable-funding param hides payment methods you don't support.

Step 3 — Add Button Container

Add the container div + render script in <body> where the button should appear:

<div id="paypal-container-3HMBFYC9CQTMS"></div>
<script>
  paypal.HostedButtons({
    hostedButtonId: "3HMBFYC9CQTMS",
  }).render("#paypal-container-3HMBFYC9CQTMS")
</script>

Pitfall: The SDK must load before the render script. PayPal's snippet in the <head> handles this via async loading — do not move it to <body>.

Verification: Open the page in a browser. The PayPal button should render inside the container. The hosted payment page at https://www.paypal.com/ncp/payment/<HOSTED_ID> should load and accept test transactions.

Step 4 — Update README Badge

Replace the old PayPal.me badge URL with the new hosted payment link:

[![PayPal](https://img.shields.io/badge/PayPal-OpenAmer-00457C?style=for-the-badge&logo=paypal)]
(https://www.paypal.com/ncp/payment/3HMBFYC9CQTMS)

Shields.io supports style=for-the-badge (large, bold) and style=flat-square (compact). Use color 00457C (PayPal blue).

Step 5 — Update SPONSORS.md

Add a PayPal section with the direct payment link:

### 💳 PayPal (One-time / Custom Amount)
Support directly via PayPal — every contribution counts.

[**→ Pay via PayPal**](https://www.paypal.com/ncp/payment/<HOSTED_ID>)

Step 6 — Test the Payment Link

Navigate to https://www.paypal.com/ncp/payment/<HOSTED_ID> and verify:

  • Product title and description are correct
  • Price / custom-amount field accepts valid values
  • Express Checkout and card options are visible
  • Footer links: "Diesen Link melden", "Datenschutz"

Multiple Buttons: Consulting Tiers

For tiered products (Quick Audit €499 → Pipeline €1,999 → Full Stack €4,999), create separate hosted buttons per tier on paypal.com/buttons/saved. Each tier gets its own hostedButtonId.

QR Code for Social Media

PayPal auto-generates a QR code for each payment link. Share on: X/Twitter, GitHub repo, Discord pins, conference slides, email sigs.

Pitfalls

  1. PayPal blocks headless browsers — DataDome blocks browser_navigate to PayPal. Use the user's logged-in browser via computer_use or ask for the hosted ID manually.
  2. SDK must load before render — Keep the SDK in <head>, render in <body>. The snippet PayPal provides handles this correctly.
  3. Client ID is per-account — never reuse across different PayPal accounts.
  4. Button container id must match — div id and render selector must match exactly. A mismatch = silent failure, no button.
  5. Desktop capture may fail — zombie cua-driver process can cause "Connection closed" on capture(). Fall back to browser_* tools (CDP Chromium) for web-based PayPal tasks.
  6. CSP blocks PayPal SDK — Add paypal.com and paypalobjects.com to CSP script-src, style-src, img-src, frame-src, connect-src.

Verification Checklist

  • Payment link loads: paypal.com/ncp/payment/<ID> → correct product
  • SDK loads in browser console (no CSP / 404 errors)
  • Button renders on all website target pages
  • README badge links to new payment URL
  • SPONSORS.md has PayPal section with direct link

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.