payment gateway opening error
when I had test key configured for payment gateway, everything was working fine on the hosted website but when I changed the test keys with live keys, it started failing with status code 400. Can you please let me know if is there anything else we need to add or handle after switching to live environment here ?
12 Replies
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다
오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.
- 주문번호(orderId) :
- 문의 내용 :
(img를 함께 첨부해주시면 도움이됩니다)
* 계약관련 내용은 1544-7772로 문의주세요.
* 주말/공휴일에는 답변이 늦을 수 있어요.
please provide the trace-id as text (you can find it from console)
X-Tosspayments-Trace-id
here you go 3bad32250b5df1a89359b4396dc80f4e
could you show me how the checkout page looks like?
In the test environment, when I click on 'Mock Interview 1,' it opens this widget. However, when I change the environment to live, it doesn't open the widget and shows the error provided above.
Ok, seems you are using wrong client key for your payment request
for your case,
you should use the client key that looks like "live_ck_asdfadfadf"
but seems you are using the client key that looks like "live_gck_asdfasdfasdf"
Thank you, and I have one more issue. In the live payment method, when I click on 'Virtual Account,' it shows a blank page
request : {
"paymentMethod": "VIRTUAL_ACCOUNT"
}
response text file
what is your mid?
It seems like rilreizvj3
it is still Reviewing status.
Please try it after the contact approval.
You can test it with the test key first.
*contract approval
Basically means your merchant is still in contracting process (not finished)
So you are not able to make the payment
❤️ 기술문의 경험이 어떠셨나요?!
간단히 코멘트 남겨주세요! 제품 발전에 큰 힘이 됩니다.