question

zalak123 avatar image
zalak123 asked zalak123 edited

Clover hosted iframe only works if loaded iframe is once visited by user.

So, I have successfully added Clover hosted iframe in my react project and everything works fine but, I have noticed one thing when I call cloverRef.current?.createToken() It only works if the user has once visited the loaded Ifrmae by scrolling to that section if the user has not visited the iframe section it does not give me the error for cart number is required and so on...,
Is there any way to fix this?

Thanks any help will be appreciated.

ecommerce
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community