mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-06 20:50:01 +00:00
fix
This commit is contained in:
@@ -125,9 +125,9 @@ class PayPal extends AbstractPayment {
|
||||
|
||||
$response = (string) $this->provider->verifyIPN($post);
|
||||
|
||||
if($response === 'VERIFIED' && $request['mp_desc']){
|
||||
if(Payment::whereSn($request['mp_desc'])->first()->status == 0){
|
||||
self::postPayment($request['mp_desc'], 'PayPal');
|
||||
if($response === 'VERIFIED' && $request['invoice']){
|
||||
if(Payment::whereSn($request['invoice'])->first()->status == 0){
|
||||
self::postPayment($request['invoice'], 'PayPal');
|
||||
}
|
||||
exit("success");
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ class Kernel extends HttpKernel {
|
||||
CheckForMaintenanceMode::class,
|
||||
ValidatePostSize::class,
|
||||
TrimStrings::class,
|
||||
ConvertEmptyStringsToNull::class,
|
||||
//ConvertEmptyStringsToNull::class,
|
||||
TrustProxies::class,
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user