next.js 에서 https://api.tosspayments.com/v1/brandpay/authorizations/customer-token 무한호출

.

.
1. next.js
: localhost:3000
2. node.js
: localhost:8081

1 .
이 redirect url 은 1localhost:3000/cart/payment/brandpay-callback-auth
서 getServerSideProps 여 1 서 2로 access token .
. 는 2 서 true 만 1.

2니 access token
1
https://api.tosspayments.com/v1/brandpay/authorizations/customer-token 그 response .
{"status":"PENDING","customerToken":null,"expiresIn":null}

.

.
Was this page helpful?