我将 xsolla webhooks 与 php sdk 一起使用,但我无法使用本地 webhooks 运行我的代码
我收到此错误:
"error": {
"code": "INVALID_CLIENT_IP",
"message": "Client IP address (127.0.0.1) not found in allowed IP addresses whitelist (159.255.220.240\/28, 185.30.20.16\/29, 185.30.21.0\/24, 185.30.21.16\/29). Please check troubleshooting section in README.md https:\/\/github.com\/xsolla\/xsolla-sdk-php#troubleshooting"
}
我将 xsolla webhooks 与 php sdk 一起使用,但我无法使用本地 webhooks 运行我的代码
我收到此错误:
"error": {
"code": "INVALID_CLIENT_IP",
"message": "Client IP address (127.0.0.1) not found in allowed IP addresses whitelist (159.255.220.240\/28, 185.30.20.16\/29, 185.30.21.0\/24, 185.30.21.16\/29). Please check troubleshooting section in README.md https:\/\/github.com\/xsolla\/xsolla-sdk-php#troubleshooting"
}
当我添加 IP 地址 127.0.01
像那样 :
protected static $xsollaSubnets = [
'159.255.220.240/28',
'185.30.20.16/29',
'185.30.21.0/24',
'127.0.0.1',
'185.30.21.16/29',
];
它向我显示了另一个错误:
"error": {
"code": "INVALID_SIGNATURE",
"message": "\"Authorization\" header not found in Xsolla webhook request. Please check troubleshooting section in README.md https:\/\/github.com\/xsolla\/xsolla-sdk-php#troubleshooting"
}
任何人都可以帮忙吗?谢谢