Open ayushjaipuriyar opened 1 year ago
Hi @ayushjaipuriyar , we see you are trying to access content of the response as following
const customer: Customer = result?.customer;
const invoice: Invoice = result?.invoice;
const subscription: Subscription = result?.subscription;
can you please try doing this instead and see if it works?
const customer: Customer = result?.hosted_page?.content?.customer;
const invoice: Invoice = result?.hosted_page?.content?.invoice;
const subscription: Subscription = result?.hosted_page?.content?.subscription;
Hi @ayushjaipuriyar, can you please confirm if this works for you?
I had created a pr for this Now I am not working on that project so you can close this.
On Mon, Apr 22, 2024, 3:44 PM cb-alish @.***> wrote:
Hi @ayushjaipuriyar https://github.com/ayushjaipuriyar, can you please confirm if this works for you?
— Reply to this email directly, view it on GitHub https://github.com/chargebee/chargebee-typescript/issues/40#issuecomment-2069013926, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP4OKXBBQ4KDZHPJBOPV3ADY6TPIVAVCNFSM6AAAAAA4C6MJVCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGAYTGOJSGY . You are receiving this because you were mentioned.Message ID: @.***>
there is no content in hosted_page