You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to render separate elements for card's number, expiration and CVC. However when I use config for swell.payment.createElements mentioned in official docs it does not respect seperateElements option.
In browser I get this error message:
The selector you specified (#card-element) applies to no DOM elements that are currently on the page.
Make sure the element exists on the page before calling mount().
When I specify elementId directly for card and use it without !seperateElements: true` it works.
The text was updated successfully, but these errors were encountered:
VojtaSim
changed the title
swell.payment.createElements does not respect seperateElements optionswell.payment.createElements does not respect seperateElements option
Mar 30, 2023
I'd like to render separate elements for card's number, expiration and CVC. However when I use config for
swell.payment.createElements
mentioned in official docs it does not respectseperateElements
option.In browser I get this error message:
When I specify
elementId
directly forcard
and use it without !seperateElements: true` it works.The text was updated successfully, but these errors were encountered: