Paypal 버튼 오류
강사님 강의를 따라하던 중 먼저 커뮤니티의 다른 분 같이 하나의 비지니스 계정만 뜨는 상황을 겪었습니다.
그 분이 진행했던 대로, 저 또한 그 비지니스 계정으로 app을 만들었고 sandbox에 ID값을 바꿔주었습니다. 하지만 그렇게 하면 바로 로그인 창이 뜨던 강사님과 달리 여전히 로그인 창이 뜨지 않는 오류를 겪었습니다.
checkout.js:1664 POST https://www.sandbox.paypal.com/v1/payment-experience/web-profiles 401
(익명) @ checkout.js:1664
ZalgoPromise @ checkout.js:941
request @ checkout.js:1603
(익명) @ checkout.js:17462
_proto.dispatch @ checkout.js:1016
_proto.resolve @ checkout.js:968
_proto.dispatch @ checkout.js:1036
_proto.resolve @ checkout.js:968
(익명) @ checkout.js:942
(익명) @ checkout.js:1649
load(비동기)
(익명) @ checkout.js:1620
ZalgoPromise @ checkout.js:941
request @ checkout.js:1603
(익명) @ checkout.js:17437
(익명) @ checkout.js:6074
(익명) @ checkout.js:17461
(익명) @ checkout.js:6074
(익명) @ checkout.js:17513
ZalgoPromise.try @ checkout.js:1169
(익명) @ checkout.js:17512
_proto.dispatch @ checkout.js:1016
_proto.resolve @ checkout.js:968
_proto.dispatch @ checkout.js:1036
_proto.resolve @ checkout.js:968
(익명) @ checkout.js:942
(익명) @ checkout.js:1649
load(비동기)
(익명) @ checkout.js:1620
ZalgoPromise @ checkout.js:941
request @ checkout.js:1603
(익명) @ checkout.js:17437
(익명) @ checkout.js:6074
createPayment @ checkout.js:17511
(익명) @ checkout.js:7031
ZalgoPromise.try @ checkout.js:1169
(익명) @ checkout.js:7030
(익명) @ checkout.js:6454
ZalgoPromise.try @ checkout.js:1169
_RECEIVE_MESSAGE_TYPE.<computed> @ checkout.js:6451
receiveMessage @ checkout.js:6520
messageListener @ checkout.js:6542
checkout.js:2088 ppxo_unhandled_error {stack: 'Error: Request to post https://www.sandbox.paypal.…s://www.paypalobjects.com/api/checkout.js:6542:9)', errtype: '[object Error]', timestamp: 1659963784699, windowID: '2526aef124', pageID: '107942d234', …}
print @ checkout.js:2088
log @ checkout.js:2181
error @ checkout.js:2217
(익명) @ checkout.js:25295
(익명) @ checkout.js:988
(익명) @ checkout.js:990
setTimeout(비동기)
_proto.reject @ checkout.js:981
_proto.dispatch @ checkout.js:1022
_proto.reject @ checkout.js:992
_proto.dispatch @ checkout.js:1022
_proto.reject @ checkout.js:992
_proto.dispatch @ checkout.js:1028
_proto.reject @ checkout.js:992
(익명) @ checkout.js:1009
_proto.dispatch @ checkout.js:1026
_proto.reject @ checkout.js:992
(익명) @ checkout.js:947
respond @ checkout.js:6597
_RECEIVE_MESSAGE_TYPE.<computed> @ checkout.js:6486
receiveMessage @ checkout.js:6520
messageListener @ checkout.js:6542
checkout.js:6484 Uncaught Error: Request to post https://www.sandbox.paypal.com/v1/payment-experience/web-profiles failed with 401 error. Correlation id: 5a6ac701472aa
{
"name": "AUTHENTICATION_FAILURE",
"debug_id": "5a6ac701472aa",
"message": "Authentication failed due to invalid authentication credentials or a missing Authorization header",
"information_link": "https://developer.paypal.com/docs/api/payment-experience/#errors",
"details": []
}
at XMLHttpRequest.<anonymous> (checkout.js:1647:35)
at _RECEIVE_MESSAGE_TYPE.<computed> [as postrobot_message_response] (checkout.js:6484:27)
at receiveMessage (checkout.js:6520:60)
at messageListener (checkout.js:6542:9)
at _RECEIVE_MESSAGE_TYPE.<computed> [as postrobot_message_response] (checkout.js:6484:27)
at receiveMessage (checkout.js:6520:60)
at messageListener (checkout.js:6542:9)
_RECEIVE_MESSAGE_TYPE.<computed> @ checkout.js:6484
receiveMessage @ checkout.js:6520
messageListener @ checkout.js:6542
setTimeout(비동기)
(익명) @ checkout.js:985
(익명) @ checkout.js:990
setTimeout(비동기)
_proto.reject @ checkout.js:981
_proto.dispatch @ checkout.js:1022
_proto.reject @ checkout.js:992
_proto.dispatch @ checkout.js:1022
_proto.reject @ checkout.js:992
_proto.dispatch @ checkout.js:1028
_proto.reject @ checkout.js:992
(익명) @ checkout.js:1009
_proto.dispatch @ checkout.js:1026
_proto.reject @ checkout.js:992
(익명) @ checkout.js:947
respond @ checkout.js:6597
_RECEIVE_MESSAGE_TYPE.<computed> @ checkout.js:6486
receiveMessage @ checkout.js:6520
messageListener @ checkout.js:6542
checkout.js:7123 Uncaught Error: Error: Request to post https://www.sandbox.paypal.com/v1/payment-experience/web-profiles failed with 401 error. Correlation id: 5a6ac701472aa
{
"name": "AUTHENTICATION_FAILURE",
"debug_id": "5a6ac701472aa",
"message": "Authentication failed due to invalid authentication credentials or a missing Authorization header",
"information_link": "https://developer.paypal.com/docs/api/payment-experience/#errors",
"details": []
}
at XMLHttpRequest.<anonymous> (checkout.js:1647:35)
at _RECEIVE_MESSAGE_TYPE.<computed> [as postrobot_message_response] (checkout.js:6484:27)
at receiveMessage (checkout.js:6520:60)
at messageListener (checkout.js:6542:9)
at _RECEIVE_MESSAGE_TYPE.<computed> [as postrobot_message_response] (checkout.js:6484:27)
at receiveMessage (checkout.js:6520:60)
at messageListener (checkout.js:6542:9)
at checkout.js:7123:27
at checkout.js:7126:14
at checkout.js:6953:26
at checkout.js:6948:55
at checkout.js:6949:14
at replaceObject (checkout.js:6952:10)
at checkout.js:6954:109
at checkout.js:6950:69
at checkout.js:6951:14
at replaceObject (checkout.js:6952:10)
at checkout.js:6954:109
at checkout.js:6950:69
at checkout.js:6951:14
at replaceObject (checkout.js:6952:10)
at deserializeMethods (checkout.js:7119:16)
at receiveMessage (checkout.js:6519:70)
at messageListener (checkout.js:6542:9)
콘솔창에는 이러한 오류가 떠있었고, 검색해봤지만 해결책을 찾진 못했습니다ㅜ 계속 고민하다 교수님의 github주소에 있는 sandboxID를 입력하니 로그인 창이 떴는데요, 제가 이대로 계속 진행해도 되는지 여쭤보고 싶습니다.
답변 1
강의 내용은 훌륭하나, 환경 설정 오류 때문에 진도를 나갈 수 없습니다. 20년 버전 강의.
0
75
1
강의자료는 어디서 볼 수있나요??
0
87
1
이 쇼핑몰 만들기 강의는 관리자페이지 만드는건 없나요
0
136
2
웹에서 실시간 코드반영이 안돼요
0
141
1
app.use질문
0
75
1
강사님께 어떻게 직접질문할수있어요??
0
86
1
const함수같은거 기초강의는 어디있나요
0
97
2
리덕스 참조챕터가 어딨어요? 미리듣고오라는데요
0
88
2
강의가완전 오래되서 다 틀리네 app.jsx도 tailwind css 다틀림 무책임함
0
76
1
개발자도구에 redux란이 없어요
0
96
1
npx tailwindcss init -p 에서 계속 에러나요
0
103
1
쇼핑몰기능중 찜하기 기능은 어떻게 구현하나요
0
151
2
강의하다 줌으로 설명가능한지좀 정확히 알려주세요. 이 선생님 정책이 어떻게 되는데요. 직접 연락할 메일이라도 알려주세요
0
48
1
도표 강의 자료 열람 불가능
0
118
1
tailwindcss를 vite에서 이용하는 방식이 바뀐것 같습니다.
0
1158
2
eslint 설정 후 오류가 납니다.
0
235
1
오버로드 오류
0
161
1
VSCode에서 save를 할 때, landingpage의 useEffect가 실행되는 문제에 대하여
0
180
1
dispatch(logoutUser()) 실행시 dispatch(authuser())도 함께 실행되는 문제
0
239
2
logout할 때, server로 요청을 보내서 authUser middleware를 통과하도록 하는 이유?
0
203
1
webkit-text-size-adjust 오류
0
328
1
does not provide an export named 'userReducer'
0
223
2
빌드 배포
0
143
1
삭제 예정 강의는 언제 삭제 되나요? 저것때문에 수강완료를 못하면 회사에서 비용을 청구한다고 합니다~
0
232
2





