🏛 EMSD Registered Electrical Contractor (Reg. No.: 040678)

CJ Dropshipping Orders

自動下單管理 — Automatic Order Management

⏳ Checking...
0
Total Orders
0
Placed with CJ
0
Failed
0
Pending
🔄 自動化流程 Automation Flow
客戶下單 Customer Orders→Stripe 收款 Payment→Webhook 觸發 Triggered→CJ 自動下單 Auto Order→直送客戶 Direct Delivery

⚠️ Setup required: Each Stripe product must have cj_vid metadata set to the CJ variant ID. Go to Stripe Dashboard → Products → Edit → Metadata → Add cj_vid.

Order Log
Loading orders...
⚙️ Setup Guide — 設置指南
Step 1: Map products to CJ variants

In Stripe Dashboard, go to each product → Metadata → add key cj_vid with the CJ variant ID from cjdropshipping.com

Step 2: Configure Stripe Webhook

In Stripe Dashboard → Webhooks → Add endpoint: https://hkecops.com/api/stripe/webhook

Select event: checkout.session.completed

Step 3: Add webhook secret (optional)

Copy the webhook signing secret from Stripe and add it as STRIPE_WEBHOOK_SECRET in your secrets.

Step 4: Enable shipping collection in Stripe

In your checkout session creation, ensure shipping_address_collection is enabled so CJ has the delivery address.