Shop Royal Mail
Package docs status
Section titled “Package docs status”This page is generated from package source documentation in the Capell packages repository and the checked-in manifest. Source documentation is not distribution status. Before running a Composer command, verify that the exact package and compatible 1.x release are available through public Packagist or the authenticated marketplace account.
| Field | Value |
|---|---|
| Composer package | capell-app/shop-royal-mail |
| Package slug | shop-royal-mail |
| Product group | Capell Commerce |
| Tier | paid |
| Bundle | commerce |
| Runtime contexts | shared |
| Capell version | ^1.0 |
| Catalogue role | extension |
| Release channel | Beta |
| Docs source | packages/shop-royal-mail/docs |
| Manifest | capell.json |
You can send paid, shipped orders from your shop to Royal Mail Click & Drop. The shop creates the Click & Drop order from the saved delivery address and the order totals, so nobody types the address again. You print the label in Click & Drop as usual.
The shop records the order as dispatched only after Royal Mail reports that the parcel has shipped. Until then the buyer is not told it has left. The tracking number comes back from Royal Mail and is stored with the shipment.
The package is for UK sellers who already use Click & Drop for their parcels. It needs a Click & Drop API token, one parcel size for the whole shop and orders that ship to a fixed address. It does not buy postage or print labels, and it does not change how the rest of your shop takes payment.
- Price and availability: Check current availability and price on the Capell Marketplace listing.
- Licence: Check the licence terms on the Capell Marketplace listing.
- Requires:
PHP ^8.4,capell-app/core ^1.0.79,capell-app/shop ^1.0.10. - Install:
composer require capell-app/shop-royal-mail:@beta.
Quick Start
Section titled “Quick Start”- Install the package:
composer require capell-app/shop-royal-mail:@beta. - Run
php artisan listand verify the package command signatures are registered.
For Developers
Section titled “For Developers”The consignment row is claimed before Royal Mail is called, so a lost response is found again by its order reference instead of creating a second Click & Drop order. The API host is fixed in code and the account token is sent only to it. Dispatch goes through Shop’s own dispatch action, which keeps its refund and eligibility checks.
Configure
Section titled “Configure”- Configuration files:
config/capell-shop-royal-mail.php. - Commands:
php artisan shop-royal-mail.
Limits And Pitfalls
Section titled “Limits And Pitfalls”- Install the required Capell packages at the versions in
composer.json:capell-app/core ^1.0.79,capell-app/shop ^1.0.10. - Run migrations before opening package resources or public routes.
Screens And Workflow
Section titled “Screens And Workflow”Docs gap: add docs/screenshots.json before promoting this package with visual workflow claims.
- Admin index screen if the package has a Filament resource.
- Create/edit screen if editors create records.
- Settings/configuration screen when settings exist.
- Frontend output when the package renders public pages.
- Package detail or install intent screen when marketplace-owned.
Install Impact
Section titled “Install Impact”- Required packages:
capell-app/core,capell-app/shop. - Admin navigation: no admin page or resource contribution is declared.
- Admin/editor extensions:
configurator: ShopRoyalMailLabelContribution. - Permissions: no package permission declarations or Shield gates detected; host access rules still apply.
- Public routes: none declared.
- Database changes: package migrations are declared.
- Config:
config/capell-shop-royal-mail.php. - Settings: no package settings declared.
- Queues or schedules: none declared.
- Cache tags: none declared.
- Commands:
shop-royal-mail.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Likely cause | Check | Fix |
|---|---|---|---|
| Package surface is missing after install | Provider or manifest is not loaded | Confirm capell.json, package composer.json, and provider registration | Reinstall the package, refresh Composer autoload, and clear host caches |
| Admin screen or command fails on missing table | Package migrations have not run | Check the tables listed in Data Model | Run host migrations and rerun the focused package test |
Upgrading
Section titled “Upgrading”No manual steps between minor versions.
Read CHANGELOG.md before upgrading.
Next Steps
Section titled “Next Steps”- Package docs
- Overview
- Worked extension examples
- Configuration files:
config/capell-shop-royal-mail.php. - Troubleshooting
- Developer reference
- Capell content language plan
- Capell documentation design system
- Capell and package ERD notes
- Related packages: Shop.