Open mtushar53 opened 2 years ago
Facing the same issue with React.js. :(
please provide a repo where the issue can be reproduced.
When trying to integrate bKash in next.js site, it is showing error in useBkash hook that useState is getting null.
bro keep it in cookie and then i just solve like it
Facing same issue. Anyone helps me to solve this problem???? TypeError: Cannot read properties of null (reading 'useState')
Hello @mhasan320, I tried to fix this issue but failed. Finally, I have implemented bkash payment gateway using bkash script file. You can try adding the bkash script file to your project manually.
When trying to integrate bKash in next.js site, it is showing error in useBkash hook that useState is getting null.