0
私は私の店にストライプ、チェックアウトを実装しようとしていると私は言ってエラーが表示されます。ここではストライプ、チェックアウト・エラー
にオブジェクトを解析し、エラーがあったようonToken = (token) => {
fetch('/save-stripe-token', {
method: 'POST',
body: JSON.stringify(token),
}).then(response => {
response.json().then(data => {
alert(`We are in business, ${data.email}`);
});
});
}