Skip to content

🔥 The free & Open Source DocuSign alternative

fix: update suibscription issue

prafull-opensignlabs686a773d34a8
diff --git a/apps/OpenSignServer/cloud/parsefunction/ZohoDetails.js b/apps/OpenSignServer/cloud/parsefunction/ZohoDetails.js
index 0d9051b09..bdc6b974f 100644
--- a/apps/OpenSignServer/cloud/parsefunction/ZohoDetails.js
+++ b/apps/OpenSignServer/cloud/parsefunction/ZohoDetails.js
@@ -23,15 +23,14 @@ export default async function ZohoDetails(request) {
};
// Make the POST request using Axios
const res = await axios.post(url, formData, { headers });
-
// console.log("Access Token:", res.data);
-
if (res.data.access_token) {
const hostedpages = request.params.hostedpagesId;
const userData = await axios.get('https://billing.zoho.in/api/v1/hostedpages/' + hostedpages, {
headers: {
Authorization: 'Zoho-oauthtoken ' + res.data.access_token,
- 'X-com-zoho-billing-organizationid': process.env.ZOHO_BILLING_ORG_ID,
+ 'X-com-zoho-subscriptions-organizationid': process.env.ZOHO_BILLING_ORG_ID,
+ // 'X-com-zoho-billing-organizationid': process.env.ZOHO_BILLING_ORG_ID,
},
});
// console.log(