Warenwirtschaft: AP-32-Brückenlösung — DHL-Label aus WooCommerce übernehmen
Bestell-Übertragung (wp/order) akzeptiert wp_label_url + wp_tracking_number: Label-PDF wird als lokale Kopie im privaten Storage gespeichert (Shop-URL ist öffentlich erratbar; Kopie überlebt Löschung im Shop), Sendungsnummer landet in shopping_orders.tracking. Neuer Endpoint wp/label zum Nachreichen (Connector-Hook pr_save_dhl_label_tracking), wp/status liefert die Sendungsnummer an den Shop zurück. Abwicklungs-Board + Bestell-Details zeigen Label-Download (copyreader-Dokumentroute type=label, Fallback Shop-Link) und Sendungsnummer. Download-Fehler blockieren die Übertragung nie. Doku: Connector-Update-Anleitung (dev/product management), Hinweise, Testleitfaden §11, Plan-Protokoll. pint.json schließt dev/ (Fremdcode) aus. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
a1f94ea427
commit
0eed974576
13 changed files with 611 additions and 25 deletions
|
|
@ -142,6 +142,12 @@ use Illuminate\Support\Carbon;
|
|||
*
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|ShoppingOrder whereCancellationInvoice($value)
|
||||
*
|
||||
* @property string|null $wp_label_url
|
||||
* @property string|null $wp_label_path
|
||||
*
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|ShoppingOrder whereWpLabelUrl($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder<static>|ShoppingOrder whereWpLabelPath($value)
|
||||
*
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class ShoppingOrder extends Model
|
||||
|
|
@ -181,6 +187,8 @@ class ShoppingOrder extends Model
|
|||
'invoice_number',
|
||||
'txaction',
|
||||
'wp_invoice_path',
|
||||
'wp_label_url',
|
||||
'wp_label_path',
|
||||
'wp_notice',
|
||||
'mode',
|
||||
'shipped',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue