- Adjusted YAML and JSON files for consistent formatting, including healthcheck commands and package exports. - Enhanced readability in various TypeScript files by standardizing string quotes and improving line breaks. - Updated documentation across multiple files to improve clarity and consistency, including address system and logging levels. - Removed unnecessary package-lock.json from shared package directory to streamline dependencies.
584 B
584 B
Simple Salesforce-to-Portal Communication Guide
This guide is deprecated for order provisioning. Use Platform Events (OrderProvisionRequested__e) as outlined in SALESFORCE-ORDER-COMMUNICATION.md.
Modern path (summary)
- Create High-Volume Platform Event
OrderProvisionRequested__e(fields:OrderId__c, optionalIdemKey__c). - Record-Triggered Flow on Order approval publishes the event.
- Portal BFF subscribes to the event, enqueues a job, provisions in WHMCS, and updates Salesforce.
No inbound Salesforce webhooks or HMAC headers are required in this architecture.