chargebee / chargebee-typescript

Typescript library for the Chargebee API.
https://apidocs.chargebee.com/docs/api?lang=typescript
MIT License
22 stars 16 forks source link

ReferenceError: Buffer is not defined #37

Closed soukalp closed 4 months ago

soukalp commented 1 year ago

Hi all,

I solved a problem with 'Typescript issue with webpack < 5' first. And now I am getting this 'ReferenceError: Buffer is not defined' when I am trying to call 'this.chargebee.hosted_page.checkout_new_for_items'. Do you have any idea how to solve this?

I tried everything what is mentioned here, but it doesn't work. https://stackoverflow.com/questions/68707553/uncaught-referenceerror-buffer-is-not-defined

Node version 16.16.0, Angular version 16.1.5

cb-alish commented 5 months ago

Hi @soukalp, can you please share more details on how you’re using hosted_page.checkout_new_for_items?

cb-alish commented 4 months ago

Hi @soukalp, can you please let us know if you are still facing this issue?

cb-sriramthiagarajan commented 4 months ago

Hi @soukalp, I'm closing this issue for now. Please open a new issue if you're still facing this.