quannguyen
quannguyen2y ago

SAP how I can get selected payment method after calling renderPaymentMethods

@Neojack how can I get the selected payment method after calling renderPaymentMethods to pass it to requestPayment's first parameter
9 Replies
토스페이먼츠 BOT
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다
오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.
- 주문번호(orderId) : - 문의 내용 :
(img를 함께 첨부해주시면 도움이됩니다)
* 계약관련 내용은 1544-7772로 문의주세요. * 주말/공휴일에는 답변이 늦을 수 있어요.
Kimoon Lee
Kimoon Lee2y ago
it is not possible.
quannguyen
quannguyen2y ago
so how can I know which method user selected, do I need to make an UI myself
Kimoon Lee
Kimoon Lee2y ago
why you need make your UI with paymentwidget? if you need to something depends on payment method, it is better not to use payment widget.
quannguyen
quannguyen2y ago
yes Im using the payment widget. Okay i have seen the example it seem the sdk has already handle the select event. Thank you
quannguyen
quannguyen2y ago
@냥과장 just one more question. When Im in test environment. Will my money lost if I enter my card info here
No description
Kimoon Lee
Kimoon Lee2y ago
No if you use test key, it does not make a real payment.
Ayaan
Ayaan2y ago
Yeah if it is test environment with test ck/sk, it doesnt make a real payment if you using live ck/sk for test, you can cancel your payment in our dashboard
토스페이먼츠 BOT
❤️ 기술문의 경험이 어떠셨나요?!
간단히 코멘트 남겨주세요! 제품 발전에 큰 힘이 됩니다.