mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-21 20:34:57 +09:00
fix invalid json_decode
This commit is contained in:
1 parent
69d72d135f
commit
1ca509bdc6
1 file changed
+1
-1
@@ -520,7 +520,7 @@ class ServiceTransaction implements InjectionAwareInterface
|
||||
|
||||
$invoiceService = $this->di['mod_service']('Invoice');
|
||||
$payGatewayService = $this->di['mod_service']('Invoice', 'PayGateway');
|
||||
$ipn = json_decode($tx->ipn);
|
||||
$ipn = $this->di['tools']->decodeJ($tx->ipn);
|
||||
|
||||
if(empty($tx->gateway_id)) {
|
||||
throw new \Box_Exception('Could not determine transaction origin. Transaction payment gateway is unknown.', null, 701);
|
||||
|
||||
Reference in new issue
Block a user