React HyperJS Checkout Form Not Executing Fully #7397
-
I'm using @juspay-tech/react-hyper-js for a checkout form in React. When submitting the form, only console.log("start") appears, and the execution stops before setIsLoading(true), meaning the later logs never show. It seems hyper or widgets might be null or not initialized properly, but I already check if (!hyper || !widgets) return;. What is the correct way to ensure hyper and widgets are fully initialized before processing payments in React? What's the best practice for handling this?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @behdadmns Can you please check the Demo App in this section if you are using React JS. It will give you the whole flow how to integrate. Can you please check this Demo App in this section if you are using Vanilla JS. It will give you the whole flow how to integrate. Let me know still you face any issue. |
Beta Was this translation helpful? Give feedback.
Hey @behdadmns
Can you please check the Demo App in this section if you are using React JS. It will give you the whole flow how to integrate.
Can you please check this Demo App in this section if you are using Vanilla JS. It will give you the whole flow how to integrate.
Let me know still you face any issue.