Skip to content

[ON HOLD] PAY-6029: Adds Payment Services JavaScript SDK documentation for developers building custom frontends without Commerce Storefront or drop-ins. - #643

Draft
danidelcar wants to merge 11 commits into
mainfrom
del-adobe-payment-services-sdk-docs
Draft

danidelcar wants to merge 11 commits into
mainfrom
del-adobe-payment-services-sdk-docs

Conversation

@danidelcar

@danidelcar danidelcar commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Purpose of this pull request

This PR adds Payment Services JavaScript SDK documentation for developers building custom frontends without Commerce Storefront or drop-ins.

  • Introduce SDK capabilities, requirements, and integration responsibilities.
  • Document SDK loading, configuration, shopper authentication, versioning, and TypeScript imports.
  • Explain payment initialization, rendering, validation, order placement, error handling, and teardown.
  • Add a dedicated SDK navigation section and homepage discovery link.
  • Add a banner to all three SDK documentation pages identifying the SDK as version 0.x (pre-1.0) and under active development.
  • Cross-link Payment Services GraphQL workflows and clarify which operations remain the storefront's responsibility.

Affected pages

Additional information

JIRA PAY-6029
Alpha internal sdk docs
Preview Github pages

@danidelcar danidelcar self-assigned this Nov 11, 2026
@danidelcar danidelcar added the major-update Significant updates to content label Nov 11, 2026
@github-project-automation github-project-automation Bot moved this to 📋 Needs Review in Commerce - Pull Requests Nov 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Linter Report

Click to expand full report
═══════════════════════════════════════════════════════════════
                     LINTER REPORT
═══════════════════════════════════════════════════════════════

Generated: 2026-11-11T10:03:47.324Z
Mode: Full Linting (all rules + dead links check)
Target Directory: /home/runner/work/commerce-webapi/commerce-webapi
Skipped Rules:
  - check-frontmatter → src/pages/_includes
  - missing-heading → src/pages/_includes

───────────────────────────────────────────────────────────────

Files to process: 8

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/config.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 1:1
    Message: Missing frontmatter section - add --- at the beginning with title and description
    Rule: check-frontmatter


═══════════════════════════════════════════════════════════════
                        SUMMARY
═══════════════════════════════════════════════════════════════

  📁 Files processed:    8
  📄 Files with issues:  1
  ❌ Total errors:       0
  ⚠️  Total warnings:     1
  📋 Total issues:       1

Result: ⚠️  PASSED WITH WARNINGS - No fatal errors

═══════════════════════════════════════════════════════════════

This comment was automatically generated by the linter bot.

danidelcar and others added 3 commits November 11, 2026 11:09
Keep local copies untracked; limit the PR to Payment Services SDK documentation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Linter Report

Click to expand full report
═══════════════════════════════════════════════════════════════
                     LINTER REPORT
═══════════════════════════════════════════════════════════════

Generated: 2026-11-11T10:11:30.122Z
Mode: Full Linting (all rules + dead links check)
Target Directory: /home/runner/work/commerce-webapi/commerce-webapi
Skipped Rules:
  - check-frontmatter → src/pages/_includes
  - missing-heading → src/pages/_includes

───────────────────────────────────────────────────────────────

Files to process: 8

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/config.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 1:1
    Message: Missing frontmatter section - add --- at the beginning with title and description
    Rule: check-frontmatter


═══════════════════════════════════════════════════════════════
                        SUMMARY
═══════════════════════════════════════════════════════════════

  📁 Files processed:    8
  📄 Files with issues:  1
  ❌ Total errors:       0
  ⚠️  Total warnings:     1
  📋 Total issues:       1

Result: ⚠️  PASSED WITH WARNINGS - No fatal errors

═══════════════════════════════════════════════════════════════

This comment was automatically generated by the linter bot.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Linter Report

Click to expand full report
═══════════════════════════════════════════════════════════════
                     LINTER REPORT
═══════════════════════════════════════════════════════════════

Generated: 2026-11-11T10:12:07.876Z
Mode: Full Linting (all rules + dead links check)
Target Directory: /home/runner/work/commerce-webapi/commerce-webapi
Skipped Rules:
  - check-frontmatter → src/pages/_includes
  - missing-heading → src/pages/_includes

───────────────────────────────────────────────────────────────

Files to process: 8

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/config.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 1:1
    Message: Missing frontmatter section - add --- at the beginning with title and description
    Rule: check-frontmatter


═══════════════════════════════════════════════════════════════
                        SUMMARY
═══════════════════════════════════════════════════════════════

  📁 Files processed:    8
  📄 Files with issues:  1
  ❌ Total errors:       0
  ⚠️  Total warnings:     1
  📋 Total issues:       1

Result: ⚠️  PASSED WITH WARNINGS - No fatal errors

═══════════════════════════════════════════════════════════════

This comment was automatically generated by the linter bot.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Linter Report

Click to expand full report
═══════════════════════════════════════════════════════════════
                     LINTER REPORT
═══════════════════════════════════════════════════════════════

Generated: 2026-11-11T10:13:35.057Z
Mode: Full Linting (all rules + dead links check)
Target Directory: /home/runner/work/commerce-webapi/commerce-webapi
Skipped Rules:
  - check-frontmatter → src/pages/_includes
  - missing-heading → src/pages/_includes

───────────────────────────────────────────────────────────────

Files to process: 8

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/config.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 1:1
    Message: Missing frontmatter section - add --- at the beginning with title and description
    Rule: check-frontmatter


═══════════════════════════════════════════════════════════════
                        SUMMARY
═══════════════════════════════════════════════════════════════

  📁 Files processed:    8
  📄 Files with issues:  1
  ❌ Total errors:       0
  ⚠️  Total warnings:     1
  📋 Total issues:       1

Result: ⚠️  PASSED WITH WARNINGS - No fatal errors

═══════════════════════════════════════════════════════════════

This comment was automatically generated by the linter bot.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Linter Report

Click to expand full report
═══════════════════════════════════════════════════════════════
                     LINTER REPORT
═══════════════════════════════════════════════════════════════

Generated: 2026-11-11T10:16:37.557Z
Mode: Full Linting (all rules + dead links check)
Target Directory: /home/runner/work/commerce-webapi/commerce-webapi
Skipped Rules:
  - check-frontmatter → src/pages/_includes
  - missing-heading → src/pages/_includes

───────────────────────────────────────────────────────────────

Files to process: 8

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/config.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 1:1
    Message: Missing frontmatter section - add --- at the beginning with title and description
    Rule: check-frontmatter


═══════════════════════════════════════════════════════════════
                        SUMMARY
═══════════════════════════════════════════════════════════════

  📁 Files processed:    8
  📄 Files with issues:  1
  ❌ Total errors:       0
  ⚠️  Total warnings:     1
  📋 Total issues:       1

Result: ⚠️  PASSED WITH WARNINGS - No fatal errors

═══════════════════════════════════════════════════════════════

This comment was automatically generated by the linter bot.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Linter Report

Click to expand full report
═══════════════════════════════════════════════════════════════
                     LINTER REPORT
═══════════════════════════════════════════════════════════════

Generated: 2026-11-11T15:54:02.143Z
Mode: Full Linting (all rules + dead links check)
Target Directory: /home/runner/work/commerce-webapi/commerce-webapi
Skipped Rules:
  - check-frontmatter → src/pages/_includes
  - missing-heading → src/pages/_includes

───────────────────────────────────────────────────────────────

Files to process: 8

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/config.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 1:1
    Message: Missing frontmatter section - add --- at the beginning with title and description
    Rule: check-frontmatter

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/payment-services-sdk/index.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 15:9
    Message: Unexpected dead URL `https://git.corp.adobe.com/pages/magento-payments/payments-js-sdk/alpha/`, expected live URL
    Rule: no-dead-urls


═══════════════════════════════════════════════════════════════
                        SUMMARY
═══════════════════════════════════════════════════════════════

  📁 Files processed:    8
  📄 Files with issues:  2
  ❌ Total errors:       0
  ⚠️  Total warnings:     2
  📋 Total issues:       2

Result: ⚠️  PASSED WITH WARNINGS - No fatal errors

═══════════════════════════════════════════════════════════════

This comment was automatically generated by the linter bot.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Linter Report

Click to expand full report
═══════════════════════════════════════════════════════════════
                     LINTER REPORT
═══════════════════════════════════════════════════════════════

Generated: 2026-11-13T11:15:36.717Z
Mode: Full Linting (all rules + dead links check)
Target Directory: /home/runner/work/commerce-webapi/commerce-webapi
Skipped Rules:
  - check-frontmatter → src/pages/_includes
  - missing-heading → src/pages/_includes

───────────────────────────────────────────────────────────────

Files to process: 8

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/config.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 1:1
    Message: Missing frontmatter section - add --- at the beginning with title and description
    Rule: check-frontmatter

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/payment-services-sdk/index.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 15:9
    Message: Unexpected dead URL `https://git.corp.adobe.com/pages/magento-payments/payments-js-sdk/alpha/`, expected live URL
    Rule: no-dead-urls


═══════════════════════════════════════════════════════════════
                        SUMMARY
═══════════════════════════════════════════════════════════════

  📁 Files processed:    8
  📄 Files with issues:  2
  ❌ Total errors:       0
  ⚠️  Total warnings:     2
  📋 Total issues:       2

Result: ⚠️  PASSED WITH WARNINGS - No fatal errors

═══════════════════════════════════════════════════════════════

This comment was automatically generated by the linter bot.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Linter Report

Click to expand full report
═══════════════════════════════════════════════════════════════
                     LINTER REPORT
═══════════════════════════════════════════════════════════════

Generated: 2026-11-18T09:12:49.185Z
Mode: Full Linting (all rules + dead links check)
Target Directory: /home/runner/work/commerce-webapi/commerce-webapi
Skipped Rules:
  - check-frontmatter → src/pages/_includes
  - missing-heading → src/pages/_includes

───────────────────────────────────────────────────────────────

Files to process: 8

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/config.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 1:1
    Message: Missing frontmatter section - add --- at the beginning with title and description
    Rule: check-frontmatter

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/payment-services-sdk/index.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 15:9
    Message: Unexpected dead URL `https://git.corp.adobe.com/pages/magento-payments/payments-js-sdk/alpha/`, expected live URL
    Rule: no-dead-urls


═══════════════════════════════════════════════════════════════
                        SUMMARY
═══════════════════════════════════════════════════════════════

  📁 Files processed:    8
  📄 Files with issues:  2
  ❌ Total errors:       0
  ⚠️  Total warnings:     2
  📋 Total issues:       2

Result: ⚠️  PASSED WITH WARNINGS - No fatal errors

═══════════════════════════════════════════════════════════════

This comment was automatically generated by the linter bot.

@danidelcar
danidelcar marked this pull request as ready for review November 18, 2026 13:50
@Tomasito665

Copy link
Copy Markdown
Contributor

Please don't merge this. The source of truth for these docs lives here: https://git.corp.adobe.com/pages/magento-payments/payments-js-sdk/alpha/.

Without automation, this will force us to start filing two PRs every time we change something about the JS SDK API: one to the SDK with the actual change + changes to docs, another one to copy it to this repository.

The JS SDK is under active development and we're making breaking changes constantly. Having docs in a separate repository will significantly increase TOIL.

@github-actions

Copy link
Copy Markdown
Contributor

🔍 Linter Report

Click to expand full report
═══════════════════════════════════════════════════════════════
                     LINTER REPORT
═══════════════════════════════════════════════════════════════

Generated: 2026-11-18T16:13:24.595Z
Mode: Full Linting (all rules + dead links check)
Target Directory: /home/runner/work/commerce-webapi/commerce-webapi
Skipped Rules:
  - check-frontmatter → src/pages/_includes
  - missing-heading → src/pages/_includes

───────────────────────────────────────────────────────────────

Files to process: 8

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/config.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 1:1
    Message: Missing frontmatter section - add --- at the beginning with title and description
    Rule: check-frontmatter

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/payment-services-sdk/index.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 15:9
    Message: Unexpected dead URL `https://git.corp.adobe.com/pages/magento-payments/payments-js-sdk/alpha/`, expected live URL
    Rule: no-dead-urls


═══════════════════════════════════════════════════════════════
                        SUMMARY
═══════════════════════════════════════════════════════════════

  📁 Files processed:    8
  📄 Files with issues:  2
  ❌ Total errors:       0
  ⚠️  Total warnings:     2
  📋 Total issues:       2

Result: ⚠️  PASSED WITH WARNINGS - No fatal errors

═══════════════════════════════════════════════════════════════

This comment was automatically generated by the linter bot.

@danidelcar

Copy link
Copy Markdown
Contributor Author

Please don't merge this. The source of truth for these docs lives here: https://git.corp.adobe.com/pages/magento-payments/payments-js-sdk/alpha/.

Without automation, this will force us to start filing two PRs every time we change something about the JS SDK API: one to the SDK with the actual change + changes to docs, another one to copy it to this repository.

The JS SDK is under active development and we're making breaking changes constantly. Having docs in a separate repository will significantly increase TOIL.

see slack thread to continue conversation

@AVoskoboinikov

Copy link
Copy Markdown

I agree with @Tomasito665
This is not the time to release this documentation.

@danidelcar
danidelcar marked this pull request as draft November 23, 2026 14:02
@danidelcar danidelcar changed the title PAY-6029: Adds Payment Services JavaScript SDK documentation for developers building custom frontends without Commerce Storefront or drop-ins. [ON HOLD] PAY-6029: Adds Payment Services JavaScript SDK documentation for developers building custom frontends without Commerce Storefront or drop-ins. Nov 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Linter Report

Click to expand full report
═══════════════════════════════════════════════════════════════
                     LINTER REPORT
═══════════════════════════════════════════════════════════════

Generated: 2026-11-23T14:04:19.689Z
Mode: Full Linting (all rules + dead links check)
Target Directory: /home/runner/work/commerce-webapi/commerce-webapi
Skipped Rules:
  - check-frontmatter → src/pages/_includes
  - missing-heading → src/pages/_includes

───────────────────────────────────────────────────────────────

Files to process: 8

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/config.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 1:1
    Message: Missing frontmatter section - add --- at the beginning with title and description
    Rule: check-frontmatter

───────────────────────────────────────────────────────────────
📄 FILE: src/pages/payment-services-sdk/index.md
───────────────────────────────────────────────────────────────
  ⚠️  WARNING
    Location: Line 15:9
    Message: Unexpected dead URL `https://git.corp.adobe.com/pages/magento-payments/payments-js-sdk/alpha/`, expected live URL
    Rule: no-dead-urls


═══════════════════════════════════════════════════════════════
                        SUMMARY
═══════════════════════════════════════════════════════════════

  📁 Files processed:    8
  📄 Files with issues:  2
  ❌ Total errors:       0
  ⚠️  Total warnings:     2
  📋 Total issues:       2

Result: ⚠️  PASSED WITH WARNINGS - No fatal errors

═══════════════════════════════════════════════════════════════

This comment was automatically generated by the linter bot.

This branch was successfully deployed

1 active (outdated) deployment
github-pages — a5746f23 Deployed Nov 18, 2026 by danidelcar via preview / Deploy #8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major-update Significant updates to content

Projects

Status: 📋 Needs Review

Development

Successfully merging this pull request may close these issues.

3 participants