Skip to content

docs: add PaymentController v2 architecture documentation#332

Open
0spinboson wants to merge 1 commit into
frappe:masterfrom
nlvegan:docs/payment-controller-v2
Open

docs: add PaymentController v2 architecture documentation#332
0spinboson wants to merge 1 commit into
frappe:masterfrom
nlvegan:docs/payment-controller-v2

Conversation

@0spinboson

Copy link
Copy Markdown

Summary

Adds documentation for the new PaymentController v2 architecture in the payments app.

Documentation Contents

  • Architecture Overview - Why v2 exists and its benefits
  • Components - PaymentController, Payment Session Log, TxData
  • ERPNext Integration - How Payment Request routes to v1/v2 gateways
  • Implementing v2 Gateways - Code examples for creating new gateways
  • Stripe v2 Configuration - Step-by-step webhook setup guide
  • API Reference - initiate(), proceed(), get_payment_url()
  • Backward Compatibility - Assurance that v1 gateways still work
  • Troubleshooting - Common issues and solutions

Related PRs

Adds documentation for the new PaymentController v2 architecture in the
payments app, covering:

- Architecture overview and components
- Integration with ERPNext Payment Request
- Implementing v2 payment gateways
- Stripe v2 configuration guide
- API reference
- Troubleshooting guide

Related: frappe/erpnext#51723, frappe/payments#192
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.

1 participant