Install Links และ Deep Links
Install Links และ Deep Links
Install links ช่วยให้คุณกระจาย Stripe App นอก Stripe Marketplace ในขณะที่ deep links นำผู้ใช้ไปยัง app views เฉพาะโดยตรง
Install Links
https://marketplace.stripe.com/apps/com.tajo.brevo-integration ?redirect_uri=https://app.tajo.io/stripe/callback &state=custom-state-tokenDeep Links
https://dashboard.stripe.com/apps/com.tajo.brevo-integration ?view=CustomerBrevoView &customer_id=cus_xyz123การ implement Deep Link Handler
import { useExtensionContext } from "@stripe/ui-extension-sdk/context";
const CustomerView = () => { const { environment } = useExtensionContext(); const { deepLinkParams } = environment; const { customer_id, action } = deepLinkParams;
useEffect(() => { if (action === "sync") { syncCustomerToBrevo(customer_id); } }, [action, customer_id]);
return <Box>{/* เนื้อหา view */}</Box>;};ขั้นตอนถัดไป
- Post-Install Actions, กำหนดค่า flow หลังติดตั้ง
- App Analytics, ติดตาม conversion ของ installations