mehdirochdi / cmi-payment-php

PHP package to communicate with the CMI payment plateform in Morocco
MIT License
72 stars 25 forks source link

CallbackURL #2

Closed nissrinel closed 3 years ago

nissrinel commented 3 years ago

Hello, I'm working with cmi api in a react and node js project. My problem is with callback URL, in the Integration kit they mentioned that it should be accessible through internet with specific port 80 443 but I didn't deploy my website yet. And when I redirect the callback request to my local file it doesn't work.

Below the screen of the error page capt

mehdirochdi commented 3 years ago

Hello, to be honest, I didn't set any port it should be working locally or on production, are you specified the right callback link, just look at my class.

nissrinel commented 3 years ago

Problem solved Thank you sir, It was with the Callback URL, By changing the URL with a public address from the proxy Ngrok https://ngrok.com/, the request has been done successfully !

mehdirochdi commented 3 years ago

Good to know