You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/Users/ducbui/src/amazonPayment/test/node_modules/axios/lib/core/createError.js:16
var error = new Error(message);
^
Error: Request failed with status code 422
at createError (/Users/ducbui/src/amazonPayment/test/node_modules/axios/lib/core/createError.js:16:15)
at settle (/Users/ducbui/src/amazonPayment/test/node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (/Users/ducbui/src/amazonPayment/test/node_modules/axios/lib/adapters/http.js:269:11)
at IncomingMessage.emit (node:events:538:35)
at IncomingMessage.emit (node:domain:475:12)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
......
data: {
reasonCode: 'InvalidCheckoutSessionStatus',
message: 'You tried to call an operation on a Checkout Session that is in a state where that operation is not allowed'
}
Anyone have any ideas to fix this error?
The text was updated successfully, but these errors were encountered:
This is my code:
This is error:
Anyone have any ideas to fix this error?
The text was updated successfully, but these errors were encountered: