Invoices และ Stripe customer portal
PDF, line items, วิธีชำระเงิน, VAT, การเปลี่ยนแปลงแบบ prorated และ failed payment
อัปเดตล่าสุด: 2026-10-19
Billing แสดง Stripe invoice, PDF, line item และ customer portal
Invoices
- เปิด /app/account → Billing รายการล่าสุดจะอยู่ด้านบน
- GET /api/account/invoices/[id] แสดง line item ส่วน Download PDF ใช้ hosted PDF
Portal
- Manage billing: วิธีชำระเงิน ประวัติ การเปลี่ยนแพ็กเกจแบบ prorated การยกเลิก และที่อยู่/VAT
- VAT ID จะปรากฏใน invoice ครั้งต่อไป สำหรับใบเก่าให้ติดต่อ support เพื่อแก้ไข
ชำระเงินไม่สำเร็จ
- Stripe จะพยายามตัดเงินซ้ำ เมื่อ retry หมดแล้ว subscription จะเป็น past-due และจะถูกยกเลิกหากไม่แก้ payment method