Xian
1
Hello,
I need a pass Generic Gateway playsms callback url with authcode but dont find any documentation. I tried https://mydomain.com/plugin/gateway/generic/callback.php/?authcode=GNERIC_URL_authocode
but not working.
What is the correct way to pass authocode within Generic Gateway url?
Xian
2
witout authcode its showing this
95.211.243.70 sms.mydomain.com 2018-07-17 16:03:26 PID5b4e134e2bb2c - L2 generic__callback # pushed id:10608858 date:2018-07-17 22:02:53 phone:+8801765335441 msg:I go
95.211.243.70 sms.mydomain.com 2018-07-17 16:03:26 PID5b4e134e2bb2c - L2 generic__callback # error auth authcode: smsc: message_id: from: to: content:[]
the message is pushing but cannot received for authcode error
and when ever I am trying to pass authcode,
https://mydomain.com/plugin/gateway/generic/callback.php/?authcode=GNERIC_URL_authocode
log shows
95.211.243.70 sms.techtunes.com.bd PID5b4e1e01455c3 - L2 init # WARNING: possible CSRF attack. sid: ip:95.211.243.70
what is the right way to pass authcode in url?
anton
3
Assumed your domain is sms.mydomain.com
then your callback URL set on provider’s configuration is:
https://sms.mydomain.com/plugin/gateway/generic/callback.php?authcode={authcode from gateway menu here}
please check your typing again, for example it is not callback.php/?authcode=
but callback.php?authcode=