mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-12-03 05:41:52 +09:00
Avoid 403 forbidden error on IPN request
This commit is contained in:
1 parent
d69730db5f
commit
df53a09366
1 file changed
+2
@@ -241,6 +241,8 @@ class Payment_Adapter_PayPalEmail implements \Box\InjectionAwareInterface
|
||||
$headers = Array(
|
||||
($post_contents ? 'POST' : 'GET')." $path HTTP/1.1",
|
||||
"Host: $host",
|
||||
'Connection: Close',
|
||||
'User-Agent: BoxBilling'
|
||||
);
|
||||
if (!empty($phd)) {
|
||||
if (!is_array($phd)) {
|
||||
|
||||
Reference in new issue
Block a user