Check code and please ans this happens

When I use the following code:
paymentWidget.renderPaymentMethods(".paymethod-Tosspay-Class", { value: @json($checkoutCharge['total']) });
paymentWidget.renderPaymentMethods(".paymethod-Tosspay-Classdivcont", { value: @json($checkoutCharge['total']) });
I encounter an error(payment-widget:1 Unknown Error SDKBridgeError: Bridge.). However, when I use only:
paymentWidget.renderPaymentMethods(".paymethod-Tosspay-Class", { value: @json($checkoutCharge['total']) });
It works fine. Why does this happen?
Why can you please tell me why this happens?
Was this page helpful?