Chargily / chargily-epay-js

JavaScript Library for Chargily ePay Gateway
https://dev.chargily.com/docs/#/epay-js
27 stars 9 forks source link

webhook url #2

Open skandarchahbouni opened 2 years ago

skandarchahbouni commented 2 years ago

Hi, I get an error when i assign the localhost url to the invoice webhook.

how can i fix that.

Error: error message: Request failed with status code 422 at E:\epay_2\node_modules\chargily-epay-gateway\lib\index.js:115:27 at step (E:\epay_2\node_modules\chargily-epay-gateway\lib\index.js:56:23) at Object.throw (E:\epay_2\node_modules\chargily-epay-gateway\lib\index.js:37:53)
at rejected (E:\epay_2\node_modules\chargily-epay-gateway\lib\index.js:29:65) at processTicksAndRejections (node:internal/process/task_queues:96:5) [nodemon] app crashed - waiting for file changes before starting...

rofazayn commented 1 year ago

I got around this by using NGrok, let me know if you are still interested in solving your problem