Fix PCM auth: login for API token and multi webhook secrets.
PCM DirectMail v3 needs POST /auth/login (apiKey+apiSecret) before design/order calls; accept each subscription's copy-only signature secret via PCM_WEBHOOK_SECRETS.
This commit is contained in:
@@ -471,7 +471,8 @@ SMTP2GO_SMS_API_KEY=...
|
||||
# Postcards (PCM Integrations)
|
||||
POSTCARD_PROVIDER=pcm # pcm|lob|click2mail|postgrid
|
||||
PCM_API_KEY=...
|
||||
PCM_WEBHOOK_SECRET=...
|
||||
PCM_API_SECRET=...
|
||||
PCM_WEBHOOK_SECRETS=...
|
||||
PCM_RETURN_ADDRESS={...}
|
||||
|
||||
# Social (native)
|
||||
@@ -522,7 +523,7 @@ TIANJI_WEBSITE_ID=...
|
||||
alternates); `POSTCARD_PROVIDER=pcm`.
|
||||
- PCM iframe designer; save `design_id` on `MessageTemplate`; postcard campaign audience;
|
||||
inbound PCM webhooks → `ProviderEvent`; campaign completion notify email.
|
||||
- Client prerequisites: PCM Integrations account + API key, A2P 10DLC for SMS.
|
||||
- Client prerequisites: PCM Integrations account + API key/secret, A2P 10DLC for SMS.
|
||||
- **Exit:** realtor mails a postcard batch and sees delivery tracking.
|
||||
|
||||
### Phase 4 — Social automation
|
||||
|
||||
Reference in New Issue
Block a user