Can i ask how to create product for this toss payment?
Hi,
can I know how to create product which link to this toss payment?
56 Replies
3/12 이후에 결제 연동을 해보신 분들을 찾습니다!🔎
제품 발전을 위해 설문에 참여해주세요! 추첨을 통해 선물을 드립니다. (1분 소요)
can you give me more details?
Hi, because if we use payment widget
there is escrow product right
yeah payment widghet provide escrow function
normally we need to link this payment with which product
anyway to link the product?
because we need create product and like pay monthly
possible?
escrow function have
id string
ID of the product. This value must be unique.
name string
Product name.
code string
This is the product management code used by the store.
unitPrice number
The price of the product. This is the price per item, not the total price.
quantity number
The product purchase quantity.
where to create product?
This is the product management code used by the store.
what store is that
how to access
you dont have to create product, just send it to parameter when pay occur
After that you have to use escrow API and manage it with that product ID you send it
https://drive.google.com/drive/u/0/folders/1hNAsndJSSMMH5IgSYE3GbPlbvS3NRMl8
Here is escrow API but we only provide escrow API in legacy module
do u have english version?
the product we manage ourself in our system?
escrow API is used to link to get the payment details or automatic payment?
let me see
escrow is?
what is escrow ya
Are you preparing global service?
Or foreign developer for Korea company?
i m foreign developer for korea company
we have representative at korea
http://pgweb.tosspayments.com this is escrow?
because normally payment u can create product right....then u know what this payment for
Hi Stefan,
Let us conclude your requirement first,
You mentioned that you are developer for Korea company.
Is the company selling and sending the product to the customer via package?
is virtual electronic
like virtual things
u get what i mean
then you do not need to care about escrow, escrow is the one for the package
ooh
for package?
can have example?
packaging u mean?
like parcel
ex
company selling the product and need to send the package to the customer
if the customer would like to confirm the payment after they receive the things from company first,
then customer can utilize escrow.
yes parcel
ooh
then how we
keep track the payment for
i saw have orderId and orderName
these 2?
order Id should be unique
orderName only?
Ok, so now we are in another step
Are you using Tosspayments jsSDK module?
or API?
kind of widget
payment widget
결제위젯 연동하기 | 토스페이먼츠 개발자센터
상점 주문서 페이지에 결제위젯을 연동하세요.
Widget, ok good
And, you would like to inquiry the payment after the user complete the payment?
like user A made payment right
we need to know
he/she paid for what product
then next time we can charge automatic payment
like 6 months later
etc
Firstly,
when you request for the payment, you will pass the parameter orderId, orderName and etc to us.
You will call the Approval API call to complete the payment, then you will get the API response from Tosspayments.
Or, you can also receive webhook from us. ( you need to configure some)
charge automatic payment is another product, it cannot be combined with Widget, you need to integrate the automatic payment product separately. (API, jsSDK)
payment widget only for single payment?
if i need to do recurring payment
need use jsSDK?
Need to use API or jsSDK, Yes.
recurring payment (billing) is another product.
which link? can share?
if you not mind
a bit messy
haha
You can refer to the link below how the billing integration need to be done
https://docs.tosspayments.com/guides/billing/overview
자동 결제(빌링) 이해하기 | 토스페이먼츠 개발자센터
자동 결제를 사용하는 방법과 구독 서비스를 구현하는 방법을 소개합니다.
"orderId": "gOYhhlyokgcO2OYaVc4FJ",
"orderName": "토스 프라임 구독",
orderName is for us to key in what product is that?
payment widget only for single payment?
Let's conclude the conversation.
1. Widget - for onetime payment.
Widget has "Pro" version for the better experience to the customer and merchant manager.
2. Recurring payment (Billing)
two kinds of integration method, one is jsSDK + API, another one is API only.
orderName - what product is, Yes it is.
You will pass this value to us.
okie noted
Good,
I believe you need to communicate with Korea company first
okie....i will ask here if encounter issue again ok?
Sure, let us know anytime.
so if we use JsSDK+API...do we have default UI?
we need custom ourself?
You will have default UI with jsSDK
like this

jsSDK
which link again ya
can we have free 3 months no payment but later on have to pay?
hello
billing jsSDK
https://docs.tosspayments.com/guides/billing/integration
what do you mean by free 3 months no payment but later on have to pay??
카드 등록 후 자동으로 결제하기 (빌링) | 토스페이먼츠 개발자센터
카드를 등록해두고 인증과정 없이 자동 결제를 할 수 있도록 연동해보세요.
let say we want to let user free 3 months but subscribed first
later on 4th month we only charge
possible?
or we need manually update?
that will be your logic
i mean we cant have like discount coupon those?
or promocode
2nd question,
customerKey how do i get that
it seems i cant get
you can read those docs link by using browser translate function
customerKey is generate by merchat. generate ur own unique key and just send it.
means my system manually generate right
yes
have promocode support?
toss payment
or discount code
I think u r not familier with korean payment system.
plz organize the questions at once and ask them all at the same time
We will answer after checking after lunch.
And if you have any questions related to the operation like the promotion code, please contact the Korean manager
Then what we explain to the manager will help build business logic.
only answer the above question, the promotion code function is not supported when you make a billing payment.
You can just change the amount value among your business login and call the payment confirm API.
ooh ok
thanks many
and sorry for not organizing questions
My Question have below:
1. since we cant have promotion code, what we can do is give free payment 0.00 on first month. if subsequent month we need the payment, we just call payment confirm API to change the amount so anything after that we can charge automatically to thier card?
2. Automatic payment API how to access? because i checked it requires additional agreement.
3. Is there any expiration data on reporting/API? like keep the data 30 days only?
any1 here?
1. Nope. Within your logic, you do not need to perform any action for your free period, and when the payment need to be performed, then perform the payment at the time.
* Not the Confirm API, You need to perform "v1/billing/{billingKey}"
* https://docs.tosspayments.com/reference#%EC%B9%B4%EB%93%9C-%EC%9E%90%EB%8F%99-%EA%B2%B0%EC%A0%9C-%EC%8A%B9%EC%9D%B8
2. You can perform the test with test key. You need to ask Korea company for it. Korea company should have contracted merchant with Tosspayments. if not, then you need to ask them to perform the contract with Tosspayments, and also provide the test key for you. Korea company can see the test key from tosspayments.com. Please ask Korea company to follow up also.
3. No. there is no keeping period for the payment data inquiry.
코어 API | 토스페이먼츠 개발자센터
토스페이먼츠 API 엔드포인트(Endpoint)와 객체 정보, 파라미터, 요청 및 응답 예제를 살펴보세요.
Hi Can I ask about tech question here.
About API I tried to use billing/xxx/issues to get authorize
My header i pass secret key but return 500. can advise?
did you base64 encode it?
with colon (:) ?
nope
인증 | 토스페이먼츠 개발자센터
토스페이먼츠 API 사용에 필요한 인증 방식을 알아봅니다.
❤️ 기술문의 경험이 어떠셨나요?!
간단히 코멘트 남겨주세요! 제품 발전에 큰 힘이 됩니다.
Hi, I am using nestjs for backend and react for frontend
now, I want to create some link using backend which I can give as response to frontend and it will pay using that link
after payment completes, I can fetch that record using wehook
is it possible?
or how this is supposed to work
you can set up the webhook in the development portal
please check it https://docs.tosspayments.com/common/webhook
웹훅(Webhook) 연동하기 | 토스페이먼츠 개발자센터
웹훅은 데이터가 변경되었을 때 상점 서버에서 실시간으로 알림을 받을 수 있는 기능입니다. 웹훅을 연동해서 결제 상태 변경, 지급대행 실행, 브랜드페이 고객 결제수단 업데이트와 같은 변경 사항을 실시간으로 받아보세요.