아래와 같은 내용으로 결제 요청시 400 오류가 납니다.
{
“cid”: “TC0ONETIME”,
“partner_order_id”: “202309201827-0000040”,
“partner_user_id”: “taejun”,
“item_name”: "??? 2.0L 6? ",
“quantity”: “1”,
“total_amount”: “5000”,
“tax_free_amount”: “0”,
“approval_url”: “https://kd-dev.kwangdongmart.com/payment/kakaopay/popupResult?mode=approval&oid=202309201827-0000040”,
“cancel_url”: “https://kd-dev.kwangdongmart.com/payment/kakaopay/popupResult?mode=cancel”,
“fail_url”: “https://kd-dev.kwangdongmart.com/payment/kakaopay/popupResult?mode=fail”
}
응답 애러 메세지는 아래와 같습니다.
Client error: POST https://kapi.kakao.com/v1/payment/ready
resulted in a 400 Bad Request
response:
{“msg”:"approve_url(https://kd-dev.kwangdongmart.com/payment/kakaopay/popupResult?mode=approval&oid=202309201834-0000041 (truncated…)
어떤 부분을 확인해야 할까요?