icarus9985
icarus99852y ago

Update payment value by ajax

can i update paymentWidget.renderPaymentMethods(".paymethod-Tosspay-Class", { value: @json($checkoutCharge['total']) }) total value after ajax response
6 Replies
토스페이먼츠 BOT
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다
오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.
- 주문번호(orderId) : - 문의 내용 :
(img를 함께 첨부해주시면 도움이됩니다)
* 계약관련 내용은 1544-7772로 문의주세요. * 주말/공휴일에는 답변이 늦을 수 있어요.
Kimoon Lee
Kimoon Lee2y ago
you can use updateAmount.
icarus9985
icarus9985OP2y ago
when i update the amount with the ajax then its not updating the amount but when i reload the page then its update the amount can you please tell me why this happns
Kimoon Lee
Kimoon Lee2y ago
when i update the amount
Did you call updateAmount method? you should call updateAmount after getting response from ajax.
토스페이먼츠 BOT
❤️ 기술문의 경험이 어떠셨나요?!
간단히 코멘트 남겨주세요! 제품 발전에 큰 힘이 됩니다.

Did you find this page helpful?