#Problem with checkout_url from POST /v1/payments, return COMMON_ERRROR when I open url

62 messages · Page 1 of 1 (latest)

nocturne stream
#

Hello.

We are integrating Toss Payments in a server-to-server flow using POST /v1/payments.

Our current setup is:

  • Test MID: tevacod7ohf
  • Live MID: evacod7ohf

In the test environment, payments work correctly.

In the live environment, POST /v1/payments succeeds and returns status=READY together with a valid checkout.url.

Our live domain is https://evacode.org, and it is a public HTTPS domain with a valid TLS certificate.

However, when we open the returned checkout.url, it immediately redirects to failUrl with this error:

code=COMMON_ERROR
message=처리 중 오류가 발생했습니다

The issue does not happen at payment creation time.
The payment is created successfully in live and returns a checkout URL.
The failure happens only when entering the live hosted checkout page.

We already verified that:

  • the domain is public
  • HTTPS/TLS is configured correctly
  • the same integration works in the test environment

Could you please check whether live MID evacod7ohf is fully activated for real payments and whether any production approval, card review, or payment-method activation is still missing for this MID?

We would also like to confirm whether this immediate COMMON_ERROR at hosted checkout can be caused by merchant activation status, contract status, or payment-method configuration on the live MID.

Thank you.

iron stoneBOT
#
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다

오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.

- 주문번호(orderId) : - 문의 내용 :

(문제가 발생한 이미지나 전체 결제흐름 동영상을 첨부해주시면 빠른 분석을 받으실 수 있습니다.)

mystic cape
#

could you share the orderir thay you got an error in Dev ?

nocturne stream
#

I create an object in Django-Admin. When I save the object, a payment link is created. This means a POST request is sent to /v1/payments and the Checkout_url link is returned. I then click it and am redirected to FailURL.

mystic cape
#

what is the orderid?

nocturne stream
#

inv-6-3b9327d8

mystic cape
#

evacod7ohf MID is for PAYPAL and it only support USD approval not KRW

#

you need to send USD currency

nocturne stream
#

inv-7-4edee03e
INVALID_PAYMENT_METHOD

nocturne stream
mystic cape
#

could you try it again?

nocturne stream
mystic cape
#

Are you using livekey?

nocturne stream
#

Yes

mystic cape
#

your MID is not contracted yet

#

so you cannot test it with livekeyt

nocturne stream
nocturne stream
mystic cape
#

it is still reviewing

nocturne stream
#

Can you tell me how long it will take?

#

We just already waiting 18 days after submission of documents

nocturne stream
solar shard
nocturne stream
#

Will there be any notification of a reply?

mystic cape
#

if you have korean collegues, please let them contact tosspayments onboarding team

nocturne stream
#

Hello! I'm very glad to tell you that we solved problem with merchant, thank you very much!

But after that, we run into problem with confirm of payments.
After payment in live token of evacodyy8q merchant, I had a problem with confirm of payment:
Payload:
{
"paymentKey": "evaco20260319201933oLFQ2",
"orderId": "inv-60-75daef9c",
"amount": 1
}
Response:
{
"code": "INVALID_API_KEY",
"message": "잘못된 시크릿키 연동 정보 입니다."
}

solar shard
#

Seems you sent a wrong api key.

#

We will check the logs for you with the payload provided

nocturne stream
#

I use the same API-Key, that I used for making this transaction.

#

And after about 30 minutes response changed from this:
{
"code": "INVALID_API_KEY",
"message": "잘못된 시크릿키 연동 정보 입니다."
}

To this:
{
"code": "NOT_FOUND_PAYMENT_SESSION",
"message": "Payment session does not exist because the session time has expired."
}

solar shard
#

please try to call the api from scratch

mystic cape
#

you requested the payment window with evacod7ohf key but the confirm was requested with evacodyy8q

nocturne stream
#

How many time I have to confirm after payment?

solar shard
#

10mins

nocturne stream
#

I'm using the same token for create and confirm payment
After client payed he's redirecting on success page, after that backend send request to confirm, with the same Token and I have an Issue:
{"status_code": 404, "ok": false, "body": {"code": "NOT_FOUND_PAYMENT_TO_CONFIRM", "message": "승인할 결제 정보가 존재하지 않습니다."}}

solar shard
#

Can we have an orderId for this?

#

We'll check our logs and will let you know what is the problem

nocturne stream
#

inv-61-4cd70859

mystic cape
#

I will check and get back to you

mystic cape
#

@nocturne stream this api does not support PAYPAL, It will be supported from mid of APR

nocturne stream
#

What do you mean?

#

What is APR?

#

How should I confirm the payments?

mystic cape
#

WE have issue to POST /v1/payments with paypal I will be fixed in 14th of April

nocturne stream
#

Hello!
I’m sorry if I bothering you guys, but will you be able to fix it by the appointed date?

mystic cape
#

it is delayed because of the side effect, it is going to deploy tomorrow, I will let you know once it is done.

iron stoneBOT
#
❤️ 기술문의 경험이 어떠셨나요?!

간단히 코멘트 남겨주세요! 제품 발전에 큰 힘이 됩니다.

mystic cape
#

@nocturne stream it was deployed, please check it again

nocturne stream
#

Hi, is amount field in confirm request depend on currency of payment? In case PayPal USD

solar shard
#

totalAmount -> amount in USD

#

currency will be "USD" constant

nocturne stream
#

Okay.
Thanks!

chilly geyser
#

I am new to this server what is it for

mystic cape
chilly geyser
#

It's Abt gateway right

mystic cape
chilly geyser
#

Nope, why asking