<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[requestPayment 승인 실패 결과 문의]]></title><description><![CDATA[<h3>어떤 제품을 사용하나요?</h3>
<ul>
<li>제품: 프론트 플러그인 / OPEN API</li>
<li>SDK 또는 API 버전: 프론트 SDK v0</li>
<li>환경: 개발</li>
</ul>
<h3>무엇이 궁금한가요?</h3>
<p dir="auto">프론트 플러그인으로 키오스크 결제(<code>sdk.payment.requestPayment</code>)를 연동하고 있습니다.<br />
결제가 성공하지 않았을 때 재결제 허용에 대한 판단을 해야 하는데, 문서에서 찾지 못한 부분이 있어 질문드립니다.</p>
<h3>무엇이 궁금한가요?</h3>
<p dir="auto"><code>requestPayment</code>로 키오스크 결제를 연동하고 있습니다. 결제가 실패했을 때 재결제를 허용해도 되는지 판단하려고 질문드립니다.</p>
<ol>
<li>승인 실패(카드 거절 등)는 어떤 형태로 오나요? (<code>result.type</code> 값인지 예외인지, 실패 사유가 담기는 필드가 있는지)</li>
<li><code>TIMEOUT</code>을 받은 뒤에 실제로는 승인이 끝나 있을 수 있나요? 그럴 수 있다면 승인 여부는 어떻게 확인하나요?</li>
<li><code>payment.payment.approved.v1</code> 웹훅은 단말에서 승인된 뒤 즉시 발송되나요? 실패할 경우 재시도 정책은 어떻게 되나요? (횟수, 간격 등)</li>
</ol>
<p dir="auto">감사합니다.</p>
]]></description><link>https://forum.tossplace.com/topic/158/requestpayment-승인-실패-결과-문의</link><generator>RSS for Node</generator><lastBuildDate>Thu, 03 Dec 2026 03:10:54 GMT</lastBuildDate><atom:link href="https://forum.tossplace.com/topic/158.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 24 Nov 2026 05:11:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to requestPayment 승인 실패 결과 문의 on Tue, 24 Nov 2026 11:11:56 GMT]]></title><description><![CDATA[<p dir="auto">안녕하세요. 토스플레이스 개발자센터입니다.</p>
<p dir="auto"><strong>1. 카드 승인 거절은 예외로 처리해 주세요.</strong><br />
카드 승인이 최종 거절되면 <code>result.type</code>에 <code>FAILED</code>가 오는 방식이 아니라 <code>requestPayment()</code>가 실패합니다. <code>catch</code>에서 오류 메시지를 확인해 주세요. 정상 응답에 카드사의 거절 사유를 담는 별도 필드는 없습니다.</p>
<p dir="auto"><strong>2. TIMEOUT을 받은 경우</strong><br />
<code>requestPayment()</code>의 응답이 <code>result.type === 'TIMEOUT'</code>이면 <strong>해당 결제는 실패한 것으로 처리하고 재결제를 안내해 주세요.</strong><br />
통신이 끊겨 응답 자체를 받지 못했다면, 재결제 전에 같은 프론트에서 기존 <code>paymentKey</code>로 승인 여부를 먼저 확인해 주세요. <a href="https://docs.tossplace.com/reference/plugin-sdk/front/payment.html#getpayment" rel="nofollow ugc">승인 결과 조회</a></p>
<p dir="auto"><strong>3. 승인 웹훅의 전송 시점과 재시도</strong><br />
<code>payment.payment.approved.v1</code>은 결제 승인 후 비동기로 전송되므로 단말에서 승인된 시점과 웹훅 수신 시점은 다를 수 있습니다.</p>
<p dir="auto">네트워크 오류, 수신 서버의 응답 시간 초과 또는 HTTP 3xx, 4xx, 5xx 응답으로 전송에 실패하면 <strong>최초 전송 시점부터 10분 후까지 약 2분 간격으로 재시도합니다.</strong> 이 기준은 운영 정책에 따라 달라질 수 있습니다.</p>
<p dir="auto">같은 <code>x-toss-webhook-id</code>로 받은 이벤트는 한 번만 처리해 주세요. <a href="https://docs.tossplace.com/reference/open-api/webhook.html" rel="nofollow ugc">웹훅 수신 가이드</a></p>
]]></description><link>https://forum.tossplace.com/post/369</link><guid isPermaLink="true">https://forum.tossplace.com/post/369</guid><dc:creator><![CDATA[토스플레이스-개발자센터]]></dc:creator><pubDate>Tue, 24 Nov 2026 11:11:56 GMT</pubDate></item></channel></rss>