question

siddharth avatar image
siddharth asked siddharth edited

Unable to mount card elements when trying to implement clover iframe in Salesforce

Hello, I am trying to implement the clover hosted iframe with salesforce B2B.
Since, Salesforce LWCs do not allow the script stage to refer to to the clover SDK, I have uploaded theSDK as a static resource and and am using that.

According to this document https://docs.clover.com/docs/using-the-clover-hosted-iframe, I am able to create instance of the clover Object and elements with my public key. I am also able to create the card elements.
However, when I attempt to mount the elements I am always presented with the error, Unable to find a dom element for selector #card-number.
Without the mounting the the inputs are not even created
Can you please help me with making some progress on this?
Thanks

e-commerce api
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