한식충
한식충
requestPayment 호출 후 history 쌓임 문제
requestPayment 호출 후에 자바스크립트 window.history length가 4가 늘어날때도 있고 6이 늘어날 때도 있습니다. 그래서 뒤로가기를 하고 싶을 때 length가 늘어난 만큼 뒤에 뒤로가기를 해야 뒤로가지는 버그가 있습니다. 어떻게 고칠 수 있을까요? package.json에 tosspayments 버전입니다 "@tosspayments/payment-sdk": "^1.6.1" requestPayment에 넘긴 파라미터 -> amount, orderId, orderName, customerName, customerEamil, successUrl, failUrl
5 replies