السلام عليكم،
يرجى توجيه هذا الطلب إلى دعم Teable ليتابع مع مسؤول اتصال Composio، بهذه التفاصيل المرفقة بالخطأ الرمزي الحالي:
• نحتاج التحقق من اشتراك messages ضمن whatsapp_business_account للتطبيق وحساب WhatsApp رقم 906793271469061 وواتساب 1645648913958600، وإتاحة توصيل إشعارات التسليم إلى تطبيق الكاشير applz6c1OhNtw6Becxg.
• صلاحية whatsapp_business_messaging ممنوحة واشتراك التطبيق في حساب واتساب موجود، لكن تعيين رابط الإشعارات يُرفض بخطأ Permissions error #200.
ملاحظة: إرسال الفواتير الجديدة تلقائياً مفعّل في الكاشير، والجزء المتوقف حالياً هو استقبال وتسجيل حالات التسليم (Webhook) بانتظار إجراء موفّر الاتصال.
شكراً لكم.
English translation:
Hello,
Please forward this request to Teable Support so they can follow up with the Composio integration contact regarding the current error:
• Please verify the application’s subscription to the messages field under whatsapp_business_account for WhatsApp account 906793271469061 and WhatsApp 1645648913958600, and enable delivery notifications to the cashier app applz6c1OhNtw6Becxg.
• The whatsapp_business_messaging permission has been granted and the app is subscribed to the WhatsApp account, but setting the notification URL is rejected with Permissions error #200.
Automatic sending of new invoices is enabled in the cashier app. The currently blocked part is receiving and recording delivery statuses through the webhook, pending action by the integration provider.
شكراً لتواصلكم وللتفاصيل الواضحة. راجعنا الحالة في تطبيق الكاشير، وهذه نتيجة الفحص:
سبب الخطأ
اتصال WhatsApp الحالي في التطبيق يعمل عبر Composio، أي أن رمز الوصول المستخدم يتبع تطبيق Meta الخاص بـ Composio وليس تطبيقاً خاصاً بكم. في WhatsApp Cloud API تُرسَل إشعارات التسليم (Webhook) إلى تطبيق Meta الذي يملك الرمز، ولا يمكن تغيير رابط الإشعارات إلا بصلاحيات ذلك التطبيق. لهذا رفضت Meta طلب تعيين الرابط بخطأ Permissions error #200، سواء على مستوى رقم الهاتف أو على مستوى الحساب. الخطأ ليس في حسابكم ولا في تطبيق الكاشير، وهو قيد لا يمكن تجاوزه عبر اتصال Composio.
الحل المقترح: استخدام تطبيق Meta خاص بكم
من Meta for Developers أنشئوا تطبيقاً (أو استخدموا تطبيقاً موجوداً) وأضيفوا إليه منتج WhatsApp، واربطوه بحساب WhatsApp Business رقم 1645648913958600.
من إعدادات Meta Business أنشئوا مستخدم نظام (System User)، وامنحوه صلاحية الوصول إلى التطبيق والحساب، ثم أنشئوا له رمز وصول دائماً بالصلاحيتين whatsapp_business_messaging و whatsapp_business_management.
في Teable احفظوا رمز الوصول و App Secret الخاص بالتطبيق كـ Secrets، وامنحوها لتطبيق الكاشير.
في لوحة تطبيق Meta، ضمن إعدادات Webhook الخاصة بـ WhatsApp، ضعوا رابط المستقبِل الموجود في تطبيق الكاشير كـ Callback URL، واستخدموا قيمة WHATSAPP_STATUS_KEY كـ Verify token، ثم اشتركوا في حقل messages.
في محادثة تطبيق الكاشير اطلبوا من المساعد استخدام هذه الـ Secrets مباشرة لإرسال الفواتير واستقبال حالات التسليم بدلاً من اتصال Composio.
ننصح بأن يتم إرسال الفواتير أيضاً من تطبيقكم الخاص، حتى تصل حالات التسليم لكل رسالة بشكل موثوق. المستقبِل في تطبيق الكاشير جاهز بالفعل، والخطوتان المتبقيتان (2 و4) تتمّان من حسابكم في Meta فقط.
إذا واجهتم أي صعوبة في أحد هذه الخطوات، يسعدنا مساعدتكم.
Thank you for reaching out and for the clear details. We’ve looked into this in your Cashier app, and here’s what we found:
What’s causing the error
The WhatsApp connection in your app currently goes through Composio. That means the access token belongs to Composio’s Meta app, not to an app you own. In the WhatsApp Cloud API, delivery notifications (webhooks) go to the Meta app that owns the token, and only that app’s permissions can change the webhook URL. That’s why Meta rejected the request to set the URL with Permissions error #200, both at the phone number level and at the account level. Nothing is wrong with your account or with the Cashier app. This is a limit of the Composio connection, and there’s no way around it from there.
Suggested fix: use your own Meta app
In Meta for Developers, create an app (or use one you already have), add the WhatsApp product to it, and connect it to WhatsApp Business Account 1645648913958600.
In Meta Business Settings, create a System User, give it access to the app and the WhatsApp Business Account, then generate a permanent access token with the whatsapp_business_messaging and whatsapp_business_management permissions.
In Teable, save the access token and the app’s App Secret as Secrets, and grant them to the Cashier app.
In your Meta app dashboard, under the WhatsApp Webhook settings, enter the receiver URL from the Cashier app as the Callback URL, use the value of WHATSAPP_STATUS_KEY as the Verify token, then subscribe to the messages field.
In the Cashier app’s chat, ask the assistant to use these Secrets directly for sending invoices and receiving delivery statuses, instead of the Composio connection.
We also recommend sending the invoices from your own app, so you reliably get a delivery status for every message. The receiver in the Cashier app is already set up. The two remaining steps (2 and 4) can only be done from your Meta account.
If you get stuck on any of these steps, we’re happy to help.