Irene
Irene16mo ago

Toss - Paypal 연동 관련 문의

해외 고객이 Paypal 결제 시도를 할 경우 아래와 같이 에러메세지가 발생합니다. 'REQUIRED_POSTAL_CODE&message=The specified country requires a postal code.&orderId=50513e8f39104ed9a5d28198a7c6133e&paymentKey=The specified country requires a postal code.' 저희는 서비스 제공업체여서 address filed 를 사용하지 않는데 이와 같은 메세지가 왜 뜨는지 찾을수가 없습니다..
52 Replies
토스페이먼츠 BOT
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다
오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.
- 주문번호(orderId) : - 문의 내용 :
(img를 함께 첨부해주시면 도움이됩니다)
* 계약관련 내용은 1544-7772로 문의주세요. * 주말/공휴일에는 답변이 늦을 수 있어요.
Ayaan이안
Ayaan이안16mo ago
페이팔 이용을 위해서는 주소 정보를 받으셔야 합니다. 없다면 그냥 하이픈만 남겨주셔도 되나 추후 분쟁이 발생할 경우 해명할 수 있는 고객 정보 자료가 충분히 있으셔야 합니다
Ika
Ika16mo ago
Hi @iam.ayaan, thanks for your replay. Our products are virtual products those no need to ship. Do we also need to add shipping parameters?
Ayaan이안
Ayaan이안16mo ago
Hi!
Ika
Ika16mo ago
No description
Ayaan이안
Ayaan이안16mo ago
You may need to add shipping address parameters but you can just send -(dashes) Yes just send as dash
Ika
Ika16mo ago
is fake date also accepted?
Ayaan이안
Ayaan이안16mo ago
Yes
Ika
Ika16mo ago
got it
Ayaan이안
Ayaan이안16mo ago
Because this data is just for user protection
Ika
Ika16mo ago
thanks for your help. I will take a try.
Ayaan이안
Ayaan이안16mo ago
So just normal situation, it will be fine But if you getting trouble with customer, You need to give additional customers’ information to Paypal
Ika
Ika16mo ago
However, I wonder the error didn't occur before last weekend.
Ayaan이안
Ayaan이안16mo ago
Which error did you got?
Ika
Ika16mo ago
Did you or paypal update the regulation? oh, I mean postal code required error
Ayaan이안
Ayaan이안16mo ago
REQUIRE_POSTAL_CODE?
Ika
Ika16mo ago
yes
Ayaan이안
Ayaan이안16mo ago
can you try with 00000 postalCode: ’00000’
Ika
Ika16mo ago
address: '-' and I just tested without shipping in sandbox. it works.
유부장
유부장16mo ago
Officially, we are recommend you to input information as attached. please do not input invalid information if possible. https://static.tosspayments.com/public/STC.pdf
Ayaan이안
Ayaan이안16mo ago
Yes but this situation is special and some other companies send dashes and 00000 for postal code
Irene
IreneOP16mo ago
저희는 서비스를 제공하는 업체여서 별도의 주소를 수집하지 않고 있습니다. 이 경우에도 Ayaan님께서 전달해주신대로 fake information을 넣으면 안되는 건가요? 아니면 저희가 paypal처리를 위해 고객 정보를 받아야 하는건가요?
유부장
유부장16mo ago
if you do not know the valid information then please do not send the data via request. those are optional one. 각 객체 내에 필수 정보만 입력 하면 됩니다. 관련 필수 정보는 되도록 고객에게 받으시기 바랍니다.
Irene
IreneOP16mo ago
postal code는 option정보로 알고 있는데 관련 에러가 발생합니다.. 'REQUIRED_POSTAL_CODE&message=The specified country requires a postal code.&orderId=50513e8f39104ed9a5d28198a7c6133e&paymentKey=The specified country requires a postal code.'
유부장
유부장16mo ago
관련해서는 별도 확인 하겠습니다. 정확하지 않은 정보를 페이팔 측으로 전달 하여, 문제가 발생했을때의 문제 소지를 만드시지 않는것이 좋습니다. 별도 확인하여 업데이트 드릴테니, 기다려 주시기 바랍니다.
Irene
IreneOP16mo ago
네 알겠습니다 감사합니다 !
Ika
Ika16mo ago
Hi @유부장 , we did not send invalid information. we just didn't send shipping information. Before last weekend all transaction worked fine. But from last weekend, our customers can not complete the purchase via paypal. And we got the error code from toss like 'code=REQUIRED_POSTAL_CODE&message=The specified country requires a postal code.&orderId=50513e8f39104ed9a5d28198a7c6133e&paymentKey=The specified country requires a postal code.
유부장
유부장16mo ago
I got the point, please allow me some time for it. I have checked transaction, and found that the transaction has been occurred from US. Based on Paypal policy, postal code is optional one, but some countries are not. US is one of them. Paypal transaction from some contries (ex US) requires postal code as mandatory one. We will update our docs for your reference. Sorry for the inconvenience caused.
유부장
유부장16mo ago
https://developer.paypal.com/api/rest/reference/orders/v2/country-address-requirements/#link-countryandregionaddressrequirements We will update our Docs as soon as possible. Before then, please refer to the link above.
PayPal API reference
Address Requirements by Country or Region
PayPal API reference
Ika
Ika16mo ago
Thanks @유부장 we set all our transaction as US so we have to add postal code, right?
Ika
Ika16mo ago
No description
유부장
유부장16mo ago
Yes, exactly
Ika
Ika16mo ago
Did they just change the regulation?
Ika
Ika16mo ago
No description
Ika
Ika16mo ago
We need to add the shipping parameter that includes postalcode
유부장
유부장16mo ago
Yes, please add postalcode. I do not think that they just changed it, but if you are facing in sudden then we can check for you separately.
Ika
Ika16mo ago
Actually, we did not face this error before. So I really want to know what happened.
유부장
유부장16mo ago
Could you let me know the successful transaction's orderId?
Ika
Ika16mo ago
sure d2263741e57b4af9b187800795ccfbfb And does paypay have 'no shipping need' option?
유부장
유부장16mo ago
As I checked, your successful transaction did not send "shipping" object, and failed transaction also same. I will check and get back to you.
Ika
Ika16mo ago
Thank you
유부장
유부장16mo ago
I have checked internally. You can ignore "shipping" object for your service product. * Your current parameter set then fine. We will enhance our validation to ignore unnecessary value to Paypal. Please use your spec as is, issue will not be happen again. There is changes regulation spec between Tosspayments and Paypal, and we have done the hotfix to cover the issue that mentioned here.
Ika
Ika16mo ago
We just got a success transaction - a6efe5cb39cd4db2a352039956ee0a45 Thank you!
토스페이먼츠 BOT
❤️ 기술문의 경험이 어떠셨나요?!
간단히 코멘트 남겨주세요! 제품 발전에 큰 힘이 됩니다.
Maha
Maha16mo ago
Hello, May I know which PayPal Product is supported via Toss Payments? Is PayPal Website Payment Standard or PayPal Express Checkout?
유부장
유부장16mo ago
Hi It should be PayPal Express Checkout.
Maha
Maha16mo ago
Great, thank you for confirming. May we have any public link that tells it is Express checkout?
유부장
유부장16mo ago
There is no public link for this information, please kindly understand
Maha
Maha16mo ago
ok fine. Atleast are u able to share which PayPal API is used? May be PayPal Product/API link which you have used for PayPal integration?
유부장
유부장16mo ago
Please let us know MID (Merchant ID) and BDM that you are communicating with
Maha
Maha16mo ago
You mean Toss Payments MID and BDM or PayPal Merchant ID? I'm just communicating on behalf of my merchant. So I don't have this details at the moment
유부장
유부장16mo ago
I see, Could you email to techsupport@tosspayments.com? We will provide to you available information via email.

Did you find this page helpful?