youcan-shop/youcan-payment-php-sdk

Error when pasting credit card number in youcanPay form

Opened this issue · 0 comments

With js lib
https://youcanpay.com/js/ycpay.js

The error happens in rendered youcan form -> Card Number field, on past event:

Uncaught TypeError: Cannot read properties of undefined (reading 'dataset') at ShadowRoot.<anonymous> (ycpay.js:256:7491)

tried rendering with empty gateways array,
renderAvailableGateways([], "default")

also with ["CreditCard"]