React-native 위젯 문의
https://docs.tosspayments.com/sdk/widget-rn#renderagreementselecto
react-native 를 이용해 결제 위젯 생성중입니다.
renderpaymentMethods 를 시행한 이후에 then에 도달하지 않습니다. 추가로 설정할 것이 있을까요?
<PaymentMethodWidget
selector="payment-methods"
onLoadEnd={() => {
console.log('onLoadEnd');
paymentWidgetControl
.renderPaymentMethods(
'payment-methods',
{ value: 200 },
{
variantKey: 'DEFAULT',
}
)
.then((control) => {
console.log('paymentMethodWidgetControl', control);
setPaymentMethodWidgetControl(control);
});
}}
/>
위젯을 로드하는데, renderpaymentMethods 를 시행한 이후에 then에 도달하지 않습니다. 추가로 설정할 것이 있을까요?
<PaymentWidgetProvider 에서 client key를 설정하고 customer key는 조건에 맞춰 생성하여 넣었습니다.
onLoadEnd 콘솔도 출력되지 않는 경우도 있습니다.
react-native 를 이용해 결제 위젯 생성중입니다.
renderpaymentMethods 를 시행한 이후에 then에 도달하지 않습니다. 추가로 설정할 것이 있을까요?
<PaymentMethodWidget
selector="payment-methods"
onLoadEnd={() => {
console.log('onLoadEnd');
paymentWidgetControl
.renderPaymentMethods(
'payment-methods',
{ value: 200 },
{
variantKey: 'DEFAULT',
}
)
.then((control) => {
console.log('paymentMethodWidgetControl', control);
setPaymentMethodWidgetControl(control);
});
}}
/>
위젯을 로드하는데, renderpaymentMethods 를 시행한 이후에 then에 도달하지 않습니다. 추가로 설정할 것이 있을까요?
<PaymentWidgetProvider 에서 client key를 설정하고 customer key는 조건에 맞춰 생성하여 넣었습니다.
onLoadEnd 콘솔도 출력되지 않는 경우도 있습니다.
