How globalpayments-samples/online-payments-auth-and-delayed-capture works
This repository is a set of four language-specific web examples for tokenized Global Payments authorization and capture. Each exposes configuration for client-side tokenization, accepts payment form data, authorizes the tokenized card, then captures the authorization and formats a response. The README also identifies a simple web interface, environment-based credentials, and error handling as common capabilities. Source excerpts cover .NET, Node.js, and PHP; Java’s implementation is represented only by its README-described role, so its internal edges are omitted.
Main entry points: Program.cs .NET App · server.js Node App · process-payment.php PHP Payment · config.php PHP Config
Components 10
Web Interfaces
- Payment Pages
Payment Backends
- .NET App
dotnet/Program.cs - Node App
nodejs/server.js - PHP Config
php/config.php - PHP Payment
php/process-payment.php - Java Servlet
java/src/main/java/com/globalpayments/example/ProcessPaymentServlet.java - Environment Credentials
Payment Provider
- Tokenization Service
- Global Payments API
Other components
- Customer
Connections 15
- Customer → Payment Pages: submits payment
README.md - Payment Pages → .NET App: posts token and billing data
README.md - Payment Pages → Node App: posts token and billing data
README.md - Payment Pages → PHP Payment: posts token and billing data
README.md - Payment Pages → Java Servlet: posts payment
README.md - .NET App → Environment Credentials: loads credentials
dotnet/Program.cs - Node App → Environment Credentials: loads credentials
nodejs/server.js - PHP Config → Environment Credentials: loads credentials
php/config.php - PHP Payment → Environment Credentials: loads credentials
php/process-payment.php - .NET App → Tokenization Service: generates access token
dotnet/Program.cs - Node App → Tokenization Service: generates access token
nodejs/server.js - PHP Config → Tokenization Service: generates access token
php/config.php - .NET App → Global Payments API: authorizes then captures
dotnet/Program.cs - Node App → Global Payments API: authorizes then captures
nodejs/server.js - PHP Payment → Global Payments API: authorizes then captures
php/process-payment.php