Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- componentDidMount() {
- window
- .fetch("https://connect.stripe.com/oauth/token", {
- method: "post",
- headers: {
- Accept: "application/json",
- },
- body: JSON.stringify({
- code: this.props.query.code,
- grant_type: "authorization_code"
- })
- })
- .then(response => console.log(response));
- }
Add Comment
Please, Sign In to add comment