Giwon
Giwon3mo ago

정기결제 구현에 문제가 있습니다.

결제플로우와 에러 사항 보내드립니다 혹시 정기결제 시스템 개발에 어떤 도움을 받을수 있을까요
No description
No description
No description
192 Replies
토스페이먼츠 BOT
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다
오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.
- 주문번호(orderId) : - 문의 내용 :
(img를 함께 첨부해주시면 도움이됩니다)
* 계약관련 내용은 1544-7772로 문의주세요. * 주말/공휴일에는 답변이 늦을 수 있어요.
Minsu Kim
Minsu Kim3mo ago
저 Something went wrong이 정확히 언제 발생하는 것인가요? 영상으로 첨부해 주실 수 있으실까요?
Giwon
GiwonOP3mo ago
https://hypertarget.app/pricing 결제 링크 공유드립니다. 영상 녹화중입니다. 보내드리겠습니다
Giwon
GiwonOP3mo ago
영상입니다
Minsu Kim
Minsu Kim3mo ago
서버에서 로그는 찍어보셨나요?
Giwon
GiwonOP3mo ago
로그 만들어서 테스트중입니다
Giwon
GiwonOP3mo ago
또 다른 질문있는데 토스 정기결제는 이 옵션이 필요 없겠죠
No description
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
해외카드는 이옵션이 적합한지 궁금합니다
Minsu Kim
Minsu Kim3mo ago
1. 그 값을 따로 회원 DB에서 관리하신다면 필요 없으세요 (결제창 오픈 시 customerEmail 값을 넘겨주신다면..) (전화번호는 가상계좌 아니면 사용하고 있지도 않습니다.)
Giwon
GiwonOP3mo ago
이미 회원가입시 있는데이터입니다 해외 정기결제는 어떤가요 자체 UI입니다
Minsu Kim
Minsu Kim3mo ago
해외정기결제 계약은 되셨나요?
Giwon
GiwonOP3mo ago
토스페이먼츠 메니저가 진행해라고 하더라고요 계약 했습니다
Minsu Kim
Minsu Kim3mo ago
관련 API도 받으신거구요?
Giwon
GiwonOP3mo ago
네 방금 개발자에게 로그 받았습니다 Payment confirmation failed: { code: 'INVALID_REQUEST', message: '필수 파라미터가 누락되었습니다.' } I got this error something that missing I need to figure out that what else has been missed 개발자가 미국인입니다 토스페이 정기결제 실패로그입니다
Minsu Kim
Minsu Kim3mo ago
음 그 개발자를 여기로 초대해주셔도 되는데요 어떻게 API를 쏘셨는지도 봐야하고 해서 개발자를 이 쪽 디스코드로 불러오시는게 서로 편할것 같습니다.
Minsu Kim
Minsu Kim3mo ago
https://developers.tosspayments.com/go/techchat 이쪽으로 초대해보셔요
Discord
Toss payments 개발자 커뮤니티 Discord 서버에 가입하세...
Toss payments 개발자 커뮤니티입니다. 결제 연동하며 겪는 기술 문의부터, 결제 시장에 대한 다양한 정보까지 얻어가세요~ | 멤버 13393명
Giwon
GiwonOP3mo ago
네 초대했습니다
Minsu Kim
Minsu Kim3mo ago
네 지금 저희 스레드 찾아서 와달라고 말씀해주셔요 스레드 링크입니다. https://discord.com/channels/864296203746803753/1382996546324529253
Giwon
GiwonOP3mo ago
제가 디스코드 몰라서 그러는데 여기도 링크 있나요?
Minsu Kim
Minsu Kim3mo ago
네 위에 링크 첨부해 드렸어요 저 discord.com~~ 저걸 보내주시면 찾아오실겁니다. 여기에 그 개발자분이 아무 메시지나 남기면 자동으로 스레드에 참여가 됩니다.
Giwon
GiwonOP3mo ago
Payment confirmation failed: { code: 'INVALID_REQUEST', message: '필수 파라미터가 누락되었습니다.' } this error msg I got 다시 시도했는데 이렇게 뜬답니다. 오는중입니다
Minsu Kim
Minsu Kim3mo ago
넵 오시면 제가 영어로 대응하겠습니다
Giwon
GiwonOP3mo ago
넵! 감사드립니다~!
Minsu Kim
Minsu Kim3mo ago
참고로 추후 그 개발자 분께서 이 디스코드에 마음껏 문의를 남기실 수 있습니다. 단, #🌎┃global-support 에 남기시는걸 권장드립니다
Giwon
GiwonOP3mo ago
네 우선 여기서 대응하도록 하겠습니다
Minsu Kim
Minsu Kim3mo ago
네네 다음부터 저쪽에 남겨주시면 됩니다
Giwon
GiwonOP3mo ago
네 알겠습니다
Kimoon Lee
Kimoon Lee3mo ago
해당 요청 진행하신 MID 와 에러 받으신 시간 공유부탁드립니다.
Minsu Kim
Minsu Kim3mo ago
@Giwon
Giwon
GiwonOP3mo ago
5시37분입니다
Giwon
GiwonOP3mo ago
No description
Minsu Kim
Minsu Kim3mo ago
MID도 알려주셔요
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
처음이라서 그러는데 처리되었다고 하더라고요 mid 어디서 보나요
Kimoon Lee
Kimoon Lee3mo ago
빌링 요청하실때 "/v1/billing/billingKey" 여기 호출하시나요?
Minsu Kim
Minsu Kim3mo ago
참고로 저 분이 개발자는 아니시고 개발자분은 외국인이라고 하셔서 지금 오고 계시답니다
Giwon
GiwonOP3mo ago
질문 전달 드렸습니다
Kimoon Lee
Kimoon Lee3mo ago
뭔가 연동을 아예 잘못하신 것 같아요. 연동문서 받으셨나요?
Giwon
GiwonOP3mo ago
맞다고 합니다 네 정독 시켰습니다 calling that api but some parameter is missing that's why payment can't be successfull 개발자가 회신했습니다
Kimoon Lee
Kimoon Lee3mo ago
카드 정보를 받아서 "/v1/billing/authorizations/card" 를 먼저 호출해서 빌링키를 받아야 합니다. 그러고 나서 받은 빌링키를 가지고 /v1/billing/{billingKey} 여기에 빌링키 값을 넣어서 요청해야 하는데요.
Giwon
GiwonOP3mo ago
전달했습니다
Kimoon Lee
Kimoon Lee3mo ago
받은 문서의 순서에 따라 호출하라고 해주셔야 합니다.
Giwon
GiwonOP3mo ago
I already perform like that 이미 했다고 하네요 issue with parameter to pass the billingapi
Kimoon Lee
Kimoon Lee3mo ago
그럼 /v1/billing/{여기에 첫번째 API 를 호출해서 받은 빌링키} 를 보내달라고 해주세요. 그리고 amount 도 null 로 보내지 말도록 해주시구요.
Giwon
GiwonOP3mo ago
okay first I pass static value issue with that may be and check that payment got successful or not 이렇게 오네요 그대로 전달했습니다' talk something please
henilkevadiya
henilkevadiya3mo ago
Payment confirmation failed: { code: 'INVALID_REQUEST', message: '필수 파라미터가 누락되었습니다.' } I received the above message after passing the parameters, including the API key. I also logged that I received the billing key and customer key. Can you please check if any parameter is missing ? response = await axios.post( // "https://api.tosspayments.com/v1/payments/confirm", https://api.tosspayments.com/v1/billing/${billingKey}, { customerKey:customerKey, amount:1000, orderId:"order_1749722654889", billingKey, // paymentKey, customerKey, order1, amount1, }, { headers: { Authorization: "Basic " + Buffer.from(process.env.TOSS_SECRET_KEY + ":").toString("base64"), "Content-Type": "application/json", }, } );
Kimoon Lee
Kimoon Lee3mo ago
"customerKey":"customer_3","order1":"order_1749722654889","amount1":500} orderId, amount 로 보내셔야 하는데 파라미터를 이상하게 보내고 계세요.
henilkevadiya
henilkevadiya3mo ago
okay I will try some static data and pass it
Giwon
GiwonOP3mo ago
"customerKey":"customer_3","order1":"order_1749722654889","amount1":500} You must submit it with orderId and amount.
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
성공했습니다. 보통 이후 어떤페이지로 가야 하나요?
Kimoon Lee
Kimoon Lee3mo ago
빌링을 요청하시는 건데 빌링은 주기적으로 결제 되는거라 특정 페이지로 이동하는게 아니라 background 에서 그냥 돌게 됩니다. 이부분은 빌링 기획하신 분과 확인해 보셔야 할것 같아요. 일반결제라면 결제 성공 페이지를 보여주는게 일반적입니다.
토스페이먼츠 BOT
❤️ 기술문의 경험이 어떠셨나요?!
간단히 코멘트 남겨주세요! 제품 발전에 큰 힘이 됩니다.
Giwon
GiwonOP3mo ago
네 알겠습니다
henilkevadiya
henilkevadiya3mo ago
Hello I got this error message Payment confirmation failed: { code: 'NOT_SUPPORTED_CARD_TYPE', message: '지원되지 않는 카드 종류입니다.' } Below, I’m sharing my Billing API code. It worked the first time, but afterward, it showed an issue. I’m also sharing the backend code that confirms the payment.
Kimoon Lee
Kimoon Lee3mo ago
I believe you enter the card info of foreign card company, please use korean card.
henilkevadiya
henilkevadiya3mo ago
If I want to use a foreign card, is it supported, or do I need to implement another method ? I want to accept both card we use korean card still we show same error
Giwon
GiwonOP3mo ago
제 카드입니다 I use my card
Kimoon Lee
Kimoon Lee3mo ago
what is your card company and what is your MID to test? Please share the order id when you got this error
Giwon
GiwonOP3mo ago
@henilkevadiya please share if able
henilkevadiya
henilkevadiya3mo ago
@Giwon please share Merchant Identification Number(MID)
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
이떻게 해야할까요? 어디를 봐야 할지 잘 모르겠네요 카톡으로 상점아이디 계속 와서 혼란스럽네요
Giwon
GiwonOP3mo ago
No description
No description
No description
Giwon
GiwonOP3mo ago
연회비등 결제 다 했습니다
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
이건가요
Kimoon Lee
Kimoon Lee3mo ago
아 공용키 쓰고 계시는 군요. 카톡으로 오는건 아마
Kimoon Lee
Kimoon Lee3mo ago
No description
Kimoon Lee
Kimoon Lee3mo ago
이것때문에 그러실겁니다. 담당자분 연락해서 해당 내용 삭제 해달라고 하시면 될거에요.
Giwon
GiwonOP3mo ago
이제 어떻게 대응하면 되나요? 상점 ID 확인 되실까요?
Kimoon Lee
Kimoon Lee3mo ago
국민 카드로 하신것 같은데요. 국민카드 말고 다른 카드로 가능하실까요?
Giwon
GiwonOP3mo ago
현재 국민카드 외에 안됩니다 ㅜ 만약 다른카드면 되는걸까요 그렇다면 다음 단계 진행하려고 합니다
Kimoon Lee
Kimoon Lee3mo ago
API 키 | 토스페이먼츠 개발자센터
토스페이먼츠 결제 연동 문서, API, 키, 테스트 내역, 웹훅 등록 등 개발에 필요한 정보와 기능을 확인해 보세요. 결제 연동에 필요한 모든 개발자 도구를 제공해 드립니다.
Kimoon Lee
Kimoon Lee3mo ago
여기에 있는 키를 사용해 주세요.
Giwon
GiwonOP3mo ago
이거 사용 목적이 뭔가요
Kimoon Lee
Kimoon Lee3mo ago
이게 계약하신 상점의 키에요.
Giwon
GiwonOP3mo ago
@henilkevadiya I will try with different card 토스페이 메니저가 자기 카드로 해본다고 하네요 테스트버전에서는 국민카드도 될거라고 합니다 이게 명확하지 않아서 문제정의가 잘 안되고 있네요 ㅜ
henilkevadiya
henilkevadiya3mo ago
so here my question is if card can't support then Why 1st time we saw payment successfull ?
Giwon
GiwonOP3mo ago
yes it was
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
이미 쓰고 있습니다 @henilkevadiya we are using this key? please confirm 다른 카드로 해도 안되네요 ㅜㅜ @henilkevadiya not working with different card
henilkevadiya
henilkevadiya3mo ago
@Giwon we are using same api key
No description
henilkevadiya
henilkevadiya3mo ago
now what we can do ?
Kimoon Lee
Kimoon Lee3mo ago
@Giwon 님 지금 보면 개발자는 제가 보내드린키를 사용하지 않고 있는것으로 보입니다. 키 변경해서 다시 확인해주세요.
Giwon
GiwonOP3mo ago
API 키 | 토스페이먼츠 개발자센터
토스페이먼츠 결제 연동 문서, API, 키, 테스트 내역, 웹훅 등록 등 개발에 필요한 정보와 기능을 확인해 보세요. 결제 연동에 필요한 모든 개발자 도구를 제공해 드립니다.
Giwon
GiwonOP3mo ago
@henilkevadiya Please get this link
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
여기 맞죠? 냠과장님
Kimoon Lee
Kimoon Lee3mo ago
네 맞습니다.
Giwon
GiwonOP3mo ago
@henilkevadiya Please check
henilkevadiya
henilkevadiya3mo ago
so here on secret key that we need to use ?
Giwon
GiwonOP3mo ago
Yes
henilkevadiya
henilkevadiya3mo ago
that we already use it
Giwon
GiwonOP3mo ago
이미 쓰고 있다는데요?? @냥과장
Kimoon Lee
Kimoon Lee3mo ago
No, key is different
Kimoon Lee
Kimoon Lee3mo ago
No description
Kimoon Lee
Kimoon Lee3mo ago
No description
Giwon
GiwonOP3mo ago
@henilkevadiya lets make sure @henilkevadiya Found something?
henilkevadiya
henilkevadiya3mo ago
this key comes from which part ?
Giwon
GiwonOP3mo ago
You can check that marked Not able to check?
henilkevadiya
henilkevadiya3mo ago
as per @냥과장 say we use above key but that I can't able to saw it
No description
henilkevadiya
henilkevadiya3mo ago
I already use that key that I marked so @냥과장 Which key did we use? Was the key I used that was correct ?
Giwon
GiwonOP3mo ago
과장님 혹시 확인 되실까요? @냥과장 안녕하세요?
Minsu Kim
Minsu Kim3mo ago
See the "Store" in LNB. You are using Development Link Experiment Merchant.
Giwon
GiwonOP3mo ago
@henilkevadiya Please check once
Minsu Kim
Minsu Kim3mo ago
You should change to your business on their. Development Test (Experiment Merchant) key cannot be used for billing. You should use: 주식회사 하이퍼타겟's bill_hyperhdxq MID - API Individual link key. And I understand you're foreigner, but we do not recommend you to use Translate function on API key page, as sometimes it messes your key value.
Minsu Kim
Minsu Kim3mo ago
No description
henilkevadiya
henilkevadiya3mo ago
okay we will replace this key and try again
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
인증번호가 안오네요 테스트 버전은 원래 이런걸까요 this issue releted to toss please maintained to toss devloper because that pop up we got comes from toss platform 라고 하네요
henilkevadiya
henilkevadiya3mo ago
Payment confirmation failed: { code: 'NOT_SUPPORTED_CARD_TYPE', message: '지원되지 않는 카드 종류입니다.' } @냥과장 @Ayaan이안 after changing api key still shows same
Minsu Kim
Minsu Kim3mo ago
Giwon
GiwonOP3mo ago
처리했는데 오류뜨네요ㅜ
Minsu Kim
Minsu Kim3mo ago
휴대폰 본인 인증번호로 000000을 입력하세요. 휴대폰 인증은 라이브 환경에서만 사용할 수 있습니다. Which key did you use? Can you sent the key here for me
Giwon
GiwonOP3mo ago
123456 으로 했는데 000000으로 해보겠습니다
henilkevadiya
henilkevadiya3mo ago
@Ayaan이안 here which key we have use Payment Widget Integration Key or API Individual Link Key ?
No description
Minsu Kim
Minsu Kim3mo ago
API individual key and choose from the search box: bill_hyperhdxq then you see the client key and secret key use the key that you can see from there. And you are currently integrating domestic billing.
henilkevadiya
henilkevadiya3mo ago
I used that key
Minsu Kim
Minsu Kim3mo ago
If you used the card that not made in Korea you might see that error @Giwon 한국에서 발급한 국내 신용카드로 결제시도하셨는데 저렇게 오류를 받으신건가요
Giwon
GiwonOP3mo ago
국민 개인 신용카드입니다
Minsu Kim
Minsu Kim3mo ago
카드번호는 올바르게 치셨죠?
Giwon
GiwonOP3mo ago
테스트버전은 국민카드 된다고 하는데 네 토스 매니저님도 본인걸로 같이 해주셨는데
Minsu Kim
Minsu Kim3mo ago
네 맞아요 국내카드면 다 되어야 합니다
Giwon
GiwonOP3mo ago
안된다고 합니다
Minsu Kim
Minsu Kim3mo ago
흠 제가 한번 제 신한카드로 해볼게요. 보통 키 오류, 카드 발급국가 오류, 카드번호 오류인데
Giwon
GiwonOP3mo ago
제가 여러번 확인했는데 안되네요 ㅜㅜ 카드는 방금 편의점에서도 사용했습니다
Minsu Kim
Minsu Kim3mo ago
흠 그렇네요 안되네요 이건 냥과장님이 확인을 해보셔야할것 같아요
Giwon
GiwonOP3mo ago
냥과장님 계시나요?
Kimoon Lee
Kimoon Lee3mo ago
네 변경해서 하셔도 안되시는 건가요?
Giwon
GiwonOP3mo ago
넵 그렇다고 하네요! @henilkevadiya Changed key value and not working right? about 1 hr ago that you changed
Kimoon Lee
Kimoon Lee3mo ago
해당 키로 빌링 결제 요청이 온적이 없어요.
Giwon
GiwonOP3mo ago
@henilkevadiya Please share which key value that you used for current with screenshot
Kimoon Lee
Kimoon Lee3mo ago
이거 발급해 볼수 있는 사이트가 있나요?
Giwon
GiwonOP3mo ago
어떤 뜻일까요? currently no received a billing request with our key. so need to share what we are using exactly @henilkevadiya
Kimoon Lee
Kimoon Lee3mo ago
제가 빌링키 발급 테스트 할수 있는 사이트가 있는지 문의 드립니다.
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
여기 말씀하시는걸까요
토스페이먼츠 BOT
💡 정보 제출
민감 정보를 안전하게 제출해주세요
Kimoon Lee
Kimoon Lee3mo ago
여기에 계정 정보 보내주세요.
Giwon
GiwonOP3mo ago
한번 부탁드립니다
henilkevadiya
henilkevadiya3mo ago
Error generating billing key: { code: 'NOT_FOUND', message: '존재하지 않는 정보 입니다.' } last log from the server I got this
Giwon
GiwonOP3mo ago
they say key issue So Please share shot for key with marked key
henilkevadiya
henilkevadiya3mo ago
@냥과장 I useed this client key and secret key
No description
Giwon
GiwonOP3mo ago
냥과장님 이거 잘못된 key인가요?
Kimoon Lee
Kimoon Lee3mo ago
아닙니다. 일단 확인해 볼께요. 지금 다시 해보실수 있을까요?
Giwon
GiwonOP3mo ago
카드 결제 말씀이시죠?
Kimoon Lee
Kimoon Lee3mo ago
네 다시 결제 한번 해보세요.
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
이슈 뜨네요
henilkevadiya
henilkevadiya3mo ago
@냥과장 Payment confirmation failed: { code: 'NOT_SUPPORTED_CARD_TYPE', message: '지원되지 않는 카드 종류입니다.' } this error show on errorlogs
Kimoon Lee
Kimoon Lee3mo ago
did you send {"customerKey":"customer_18","orderId":"order_1750068919913","orderName":"starterplan"} for payment? you need to addtional mandatory parameters like amount.
henilkevadiya
henilkevadiya3mo ago
yes @Giwon please try payment I make one change and I put a log on server
Kimoon Lee
Kimoon Lee3mo ago
this is make a payment API. so you must send amount value to that.
henilkevadiya
henilkevadiya3mo ago
I already send amount and I got this amount on server log also @냥과장 wait one minite I put a minor changes so once @Giwon try again then we know that issue has been resolved or not
Giwon
GiwonOP3mo ago
다시 결제해볼게요 will try pay
henilkevadiya
henilkevadiya3mo ago
Error generating billing key: { code: 'NOT_FOUND', message: '존재하지 않는 정보 입니다.' } @Giwon please check details
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
성공했다네요 맞나요?
Giwon
GiwonOP3mo ago
done
No description
henilkevadiya
henilkevadiya3mo ago
once again try @Giwon so we can verify that we got any error or not
Giwon
GiwonOP3mo ago
ok
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
log say done
henilkevadiya
henilkevadiya3mo ago
yes I got response with status Done
Minsu Kim
Minsu Kim3mo ago
Please make sure you are logging every transaction between TP and your website\ When: - https://api.tosspayments.com/v1/billing/authorizations/issue succeed, you should receive
{
"mId": "tosspayments",
"customerKey": "bPS9RNxP7NtK5VY3ysBsL",
"authenticatedAt": "2021-01-01T10:00:00+09:00",
"method": "카드",
"billingKey": "Z_t5vOvQxrj4499PeiJcjen28-V2RyqgYTwN44Rdzk0=",
"card": {
"issuerCode": "61",
"acquirerCode": "31",
"number": "43301234****123*",
"cardType": "신용",
"ownerType": "개인"
},
"cardCompany": "현대",
"cardNumber": "43301234****123*"
}
{
"mId": "tosspayments",
"customerKey": "bPS9RNxP7NtK5VY3ysBsL",
"authenticatedAt": "2021-01-01T10:00:00+09:00",
"method": "카드",
"billingKey": "Z_t5vOvQxrj4499PeiJcjen28-V2RyqgYTwN44Rdzk0=",
"card": {
"issuerCode": "61",
"acquirerCode": "31",
"number": "43301234****123*",
"cardType": "신용",
"ownerType": "개인"
},
"cardCompany": "현대",
"cardNumber": "43301234****123*"
}
the response like this
Kimoon Lee
Kimoon Lee3mo ago
로그상 정상 결제 된것으로 보이네요.
Minsu Kim
Minsu Kim3mo ago
When: - https://api.tosspayments.com/v1/billing/{billingKey} succeed, you should receive
{
"mId": "tosspayments",
"version": "2022-11-16",
"paymentKey": "VmNHR70zxmTKQA3yIFVXB",
"status": "DONE",
"lastTransactionKey": "Qq7fsa5L8vGMi1rGcSfuk",
"orderId": "KPvU9FfLHrt8BGIfwQnoY",
"orderName": "토스 프라임 구독",
"requestedAt": "2022-06-08T15:40:09+09:00",
"approvedAt": "2022-06-08T15:40:49+09:00",
"useEscrow": false,
"cultureExpense": false,
"card": {
"issuerCode": "61",
"acquirerCode": "31",
"number": "43301234****123*",
"installmentPlanMonths": 0,
"isInterestFree": false,
"interestPayer": null,
"approveNo": "00000000",
"useCardPoint": false,
"cardType": "신용",
"ownerType": "개인",
"acquireStatus": "READY",
"amount": 4900
},
"virtualAccount": null,
"transfer": null,
"mobilePhone": null,
"giftCertificate": null,
"cashReceipt": null,
"cashReceipts": null,
"discount": null,
"cancels": null,
"secret": null,
"type": "BILLING",
"easyPay": null,
"country": "KR",
"failure": null,
"isPartialCancelable": true,
"receipt": {
"url": "https://dashboard.tosspayments.com/sales-slip?transactionId=KAgfjGxIqVVXDxOiSW1wUnRWBS1dszn3DKcuhpm7mQlKP0iOdgPCKmwEdYglIHX&ref=PX"
},
"checkout": {
"url": "https://api.tosspayments.com/v1/payments/VmNHR70zxmTKQA3yIFVXB/checkout"
},
"currency": "KRW",
"totalAmount": 4900,
"balanceAmount": 4900,
"suppliedAmount": 4455,
"vat": 455,
"taxFreeAmount": 0,
"metadata": null,
"taxExemptionAmount": 0,
"method": "카드"
}
{
"mId": "tosspayments",
"version": "2022-11-16",
"paymentKey": "VmNHR70zxmTKQA3yIFVXB",
"status": "DONE",
"lastTransactionKey": "Qq7fsa5L8vGMi1rGcSfuk",
"orderId": "KPvU9FfLHrt8BGIfwQnoY",
"orderName": "토스 프라임 구독",
"requestedAt": "2022-06-08T15:40:09+09:00",
"approvedAt": "2022-06-08T15:40:49+09:00",
"useEscrow": false,
"cultureExpense": false,
"card": {
"issuerCode": "61",
"acquirerCode": "31",
"number": "43301234****123*",
"installmentPlanMonths": 0,
"isInterestFree": false,
"interestPayer": null,
"approveNo": "00000000",
"useCardPoint": false,
"cardType": "신용",
"ownerType": "개인",
"acquireStatus": "READY",
"amount": 4900
},
"virtualAccount": null,
"transfer": null,
"mobilePhone": null,
"giftCertificate": null,
"cashReceipt": null,
"cashReceipts": null,
"discount": null,
"cancels": null,
"secret": null,
"type": "BILLING",
"easyPay": null,
"country": "KR",
"failure": null,
"isPartialCancelable": true,
"receipt": {
"url": "https://dashboard.tosspayments.com/sales-slip?transactionId=KAgfjGxIqVVXDxOiSW1wUnRWBS1dszn3DKcuhpm7mQlKP0iOdgPCKmwEdYglIHX&ref=PX"
},
"checkout": {
"url": "https://api.tosspayments.com/v1/payments/VmNHR70zxmTKQA3yIFVXB/checkout"
},
"currency": "KRW",
"totalAmount": 4900,
"balanceAmount": 4900,
"suppliedAmount": 4455,
"vat": 455,
"taxFreeAmount": 0,
"metadata": null,
"taxExemptionAmount": 0,
"method": "카드"
}
the response like this. If you've received something like that, it means the transaction done successfully. And also, for your convinience, @냥과장 checked the system for you, and it was successfully done.
henilkevadiya
henilkevadiya3mo ago
yes I got this type of response on server
Minsu Kim
Minsu Kim3mo ago
It means all ok You do not need to worry about this any further if you received correct response
henilkevadiya
henilkevadiya3mo ago
@Ayaan이안 Yes, I just want to confirm — we save the billing keys in the database so we can manage auto-renewals based on those billing keys, right?
Minsu Kim
Minsu Kim3mo ago
Yep. Please make sure that you're running cronjob or appropriate scheduler for auto-renewals, as TP don't run the auto-renewals behalf of your server. -# * FYI, TP means Toss Payments
henilkevadiya
henilkevadiya3mo ago
yes I already set a cron that run every midnight and check if any renewal needed or not
Minsu Kim
Minsu Kim3mo ago
Then, you're okay to go. Do you have anything you would like to get support from us?
henilkevadiya
henilkevadiya3mo ago
No everything has been resolved now if we found anything we can connect
Minsu Kim
Minsu Kim3mo ago
Cool. FYI, you can make a new ticket if you find any problem afterwards. Just create a Discord post on #🌎┃global-support. If you don't know how, ask @Giwon. We are here to supporting you on weekdays, general work hours in KST.
henilkevadiya
henilkevadiya3mo ago
thank you for your guidance this helps me a lot.
Minsu Kim
Minsu Kim3mo ago
Again - don't forget to make the log for every transaction btw TP and your server - it is very useful when something goes wrong We will close this ticket as it seems to be solved. Have a good day. @Giwon 이번 건은 해결되신 것 같네요. 수고많으셨습니다. 다음에 문의남기실때는 개발자분께서 직접 #🌎┃global-support 에 문의 남기도록 해주시면 더욱 빠른 처리가 가능할 것 같네요.
Giwon
GiwonOP3mo ago
넵 다행입니다!. 이제 해외 카드건도 똑같겠죠??
Kimoon Lee
Kimoon Lee3mo ago
네 해외카드도 똑같은데 MID 가 다를겁니다.
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
이게 아닌걸까요 혹시 어디서 볼수 있을까요 다른 mid
Kimoon Lee
Kimoon Lee3mo ago
해외빌링은 아직 계약신청도 안된것 같은데요. 아 그리고 참 해외카드 빌링은 저희 결제창을 쓰실수 없고 바로 API 로 카드 정보를 보내셔야 합니다. 방식이 좀 다릅니다.
Giwon
GiwonOP3mo ago
No description
Giwon
GiwonOP3mo ago
넵 우선은 이렇게 준비했습니다 맞는지 잘 모르겠네요
Kimoon Lee
Kimoon Lee3mo ago
네 해외카드 빌링은 확인해 보니 생성 작업 중이라고 하네요. 해외카드는 카드 번호 유효기간만 필요합니다. 아마 생성 완료되면 저희 온보딩팀에서 연락 갈겁니다. CVV 를 유효기간으로 바꿔주셔야 할것 같네요.
Giwon
GiwonOP3mo ago
아 넵 이부분 유효기간으로 변경하면 되겠네요
No description

Did you find this page helpful?