Commit b4557a68 authored by Jiwon Yoon's avatar Jiwon Yoon
Browse files

ppt-regist

parent bdf5e4a6
...@@ -210,7 +210,9 @@ function Payment({ match, location }) { ...@@ -210,7 +210,9 @@ function Payment({ match, location }) {
cancel_url: 'http://localhost:3000/shoppingcart', cancel_url: 'http://localhost:3000/shoppingcart',
}) })
}) })
console.log(response.data)
const data = await response.json() const data = await response.json()
window.location.href = data.redirect_url
} else { } else {
console.log(response.data) console.log(response.data)
console.log(response2.data) console.log(response2.data)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment