developed a multi tenant SAAS App over SAP SCP CF ,did subscription as per SAP help and blogs ,and implemented the delete call back as mention below in node JS ,Unsubscribe feature is not working ,it just stay as subscribed,it was working earlier in global account but not anymore now. refer the blog. Same is the issue with sample inventory management app.

/* 
 Callback - 2: On unsubscribing to the application, the method deletes the subscription.
*/
router.delete('/callback/v1.0/tenants/*', function (req, res) {res.status(200);});

on unsubscribe nothing happen and it stays as subscribed ,it was working earlier in global account ,but not working for any of the SAAS multi tenant app now post subscription ,subscription is working fine.

0 Answers