New Provider: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
== Production Workstations == | |||
== Ship Workstations == | |||
== Code == | |||
- If provider is not explicitly specifying shipping (carrier and service), then create the appropriate PHP source file lib/shipspec_<provider>.inc.php | - If provider is not explicitly specifying shipping (carrier and service), then create the appropriate PHP source file lib/shipspec_<provider>.inc.php | ||
| Line 7: | Line 11: | ||
- If provider has a specific notification API, then implement in lib/notify_<provider>.inc.php | - If provider has a specific notification API, then implement in lib/notify_<provider>.inc.php | ||
== Reporting == | |||
- Set up semimonthly volume and detail reports for billing | |||
- Set up daily volume reports (for people who want/allowed to have financials) | |||
- Set up daily received reports (for people who don't need/allowed to have financials) | |||
== Database == | |||
- Add record to provider table (see below) | |||
- If provider is using our API, add a key to api_key table | |||
- Add csr record to access table | |||
Revision as of 10:38, 11 July 2023
Production Workstations
Ship Workstations
Code
- If provider is not explicitly specifying shipping (carrier and service), then create the appropriate PHP source file lib/shipspec_<provider>.inc.php
- If provider has a specific notification API, then implement in lib/notify_<provider>.inc.php
Reporting
- Set up semimonthly volume and detail reports for billing
- Set up daily volume reports (for people who want/allowed to have financials)
- Set up daily received reports (for people who don't need/allowed to have financials)
Database
- Add record to provider table (see below)
- If provider is using our API, add a key to api_key table
- Add csr record to access table
Provider Table
name - How provider is referred to in code and database. All lowercase. Not too long.
display - Display name for provider.
explicit_ship - Does provider explicitly specify the shipping carrier and service?
combine_ship - Does provider use combined_shipments?
cache_assets - Should artwork be cached? Useful for providers that expire artwork quickly.
check_mins - How often to check that orders have been received from provider. Zero is don't check.
notify_status - What status states should be notified to provider (production,pending,shipped,cancel,error)