- Integrations
Pre-built checkout integrations in .NET
Overview
This guide introduces open-source .NET projects designed to accelerate e-commerce checkout integration development. These projects provide:
Integration components
- Pre-built integrations with shipping providers
- Tax calculation service connections
- Payment processing implementations
- Complete integration framework
Key benefits
- Accelerated development
- Proven integration patterns
- Secure implementation
- Flexible customization
OrderCloud checkout basics
Checkout implementation complexity stems from multiple sources:
Standard features
- Credit card processing
- Security requirements
- PCI compliance
- Data protection
Custom requirements
- Shipping rules and rates
- Business-specific logic
- Integration preferences
- Workflow customization
Implementation approach
OrderCloud uses the Integration Event API resource for checkout implementation. See the Order checkout integration event guide for technical details.
Key features:
- Webhook requests to custom endpoints
- Secure credential handling
- Flexible logic injection
- Structured data formats
- Consistent workflows
Common integration vendors
1. Shipping logistics providers
Purpose:
- Calculate shipping cost estimates
- Support multiple service levels
- Enable real-time rate calculation
- Support warehouse integration
Features:
- Service-based estimates
- Cost calculations
- Label printing support
- Tracking integration
Example: EasyPost implementation
2. Tax calculation providers
Purpose:
- Handle complex tax requirements
- Support multiple jurisdictions
- Provide real-time calculations
- Ensure compliance
Implementation timing:
- Calculate after shipping selection
- Before payment processing
- Update on order submission
- Maintain calculation history
Example: Avalara integration
3. Payment processing providers
Purpose:
- Accept multiple payment methods
- Ensure PCI compliance
- Protect sensitive data
- Support saved payments
Security features:
- Secure iframe integration
- Card data tokenization
- Vault storage
- Compliance management
Example: Stripe implementation
Scaffolding starter project
The GitHub repository provides a complete .NET 6 API project with:
Core features
- Complete checkout functionality
- Integration framework
- Security implementation
- Error handling
Default integrations
- EasyPost for shipping:
- Rate calculation
- Service selection
- Label generation
- Avalara for tax:
- Real-time calculation
- Multi-jurisdiction support
- Compliance management
- Stripe for payments:
- Multiple payment methods
- Secure processing
- Card vaulting
Provider flexibility
- Modular design
- Easy provider switching
- Custom implementation support
- Maintained interfaces
Deployment guide
Azure Web App setup
-
Create new Web App Service
-
Configure environment variables:
Provider setup
-
EasyPost configuration:
- Create account
- Get API key from dashboard
- Configure shipping options
-
Avalara setup:
- Start 60-day trial
- Get license key
- Configure account settings
-
Stripe integration:
- Create account
- Get API keys
- Configure payment methods
GitHub Actions deployment
-
Update workflow configuration:
yaml -
Configure secrets:
- Download Azure publish profile
- Add as
AZURE_WEBAPP_PUBLISH_PROFILE - Set up deployment authentication
-
Deploy application:
- Push to dev branch
- Monitor action execution
- Verify deployment
OrderCloud configuration
- Create Integration Event
- Set
CustomImplementationUrl - Configure
HashKey - Test integration
Project structure
Key components
CheckoutController.cs: API endpointsCheckoutCommand.cs: Business logicStartup.cs: Service configurationAppSettings.cs: Environment settingsXp.cs: Extended properties
Integration architecture

Provider integration
Interface-based design
IShippingRateCalculator: Shipping servicesITaxCalculator: Tax computationIPaymentProcessor: Payment handling
Implementation approach
- Provider-specific services
- Interface implementation
- Dependency injection
- Easy provider switching
Available integrations
Source: OrderCloud Catalyst
Payment providers
| Vendor | Package | Version |
|---|---|---|
| Stripe | OrderCloud.Integrations.Payment.Stripe | v2.3.0 |
| BlueSnap | OrderCloud.Integrations.Payment.BlueSnap | v2.3.0 |
| CardConnect | OrderCloud.Integrations.Payment.CardConnect | v2.3.0 |
Shipping providers
| Vendor | Package | Version |
|---|---|---|
| EasyPost | OrderCloud.Integrations.Shipping.EasyPost | v2.3.0 |
| Fedex | OrderCloud.Integrations.Shipping.Fedex | v2.3.0 |
| UPS | OrderCloud.Integrations.Shipping.UPS | v2.3.0 |
Tax providers
| Vendor | Package | Version |
|---|---|---|
| Avalara | OrderCloud.Integrations.Tax.Avalara | v2.3.0 |
| Vertex | OrderCloud.Integrations.Tax.Vertex | v2.3.0 |
| TaxJar | OrderCloud.Integrations.Tax.TaxJar | v2.3.0 |
Custom integration development
Implementation options
- Create custom interface implementations
- Maintain private implementations
- Contribute to public packages
- Extend existing integrations
Development guidelines
- Follow interface contracts
- Maintain security standards
- Implement error handling
- Add appropriate logging
Contribution process
See the Contributing integrations guide for:
- Code standards
- Testing requirements
- Documentation needs
- Submission process
Related reading
- Order checkout integration event
- Start .NET middleware from scratch
- Bidirectional content hub integration