New Provider: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
== Tasks == | |||
- Add record to provider table (see below) | |||
- 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 | |||
| Line 6: | Line 12: | ||
display - Display name for provider. | display - Display name for provider. | ||
explicit_ship - Does provider explicitly specify the shipping carrier and | explicit_ship - Does provider explicitly specify the shipping carrier and service? | ||
combine_ship - Does provider use combined_shipments? | combine_ship - Does provider use combined_shipments? | ||
Revision as of 16:43, 29 June 2023
Tasks
- Add record to provider table (see below) - 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
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)