• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

AAC Znote not delivering pagseguro points

Lurk

Active Member
Joined
Dec 4, 2017
Messages
336
Reaction score
48
error file showed me this
Code:
PHP Notice:  Undefined index: transaction in C:\\xampp\\htdocs\\pagseguro_retorno.php on line 95
PHP Notice:  Trying to access array offset on value of type null in C:\\xampp\\htdocs\\pagseguro_retorno.php on line 103
PHP Notice:  Trying to get property 'quantity' of non-object in C:\\xampp\\htdocs\\pagseguro_retorno.php on line 104
PHP Notice:  Undefined index: HTTP_HOST in C:\\xampp\\htdocs\\config.php on line 841
PHP Notice:  Undefined index: HTTP_HOST in C:\\xampp\\htdocs\\config.php on line 842
PHP Notice:  Undefined index: HTTP_HOST in C:\\xampp\\htdocs\\config.php on line 843
PHP Notice:  Undefined index: HTTP_HOST in C:\\xampp\\htdocs\\config.php on line 872
PHP Notice:  Undefined index: HTTP_HOST in C:\\xampp\\htdocs\\config.php on line 900
PHP Notice:  Undefined index: HTTP_HOST in C:\\xampp\\htdocs\\config.php on line 901
PHP Notice:  Undefined index: HTTP_HOST in C:\\xampp\\htdocs\\config.php on line 841
PHP Notice:  Undefined index: HTTP_HOST in C:\\xampp\\htdocs\\config.php on line 842
PHP Notice:  Undefined index: HTTP_HOST in C:\\xampp\\htdocs\\config.php on line 843
PHP Notice:  Undefined index: HTTP_HOST in C:\\xampp\\htdocs\\config.php on line 872
PHP Notice:  Undefined index: HTTP_HOST in C:\\xampp\\htdocs\\config.php on line 900
PHP Notice:  Undefined index: HTTP_HOST in C:\\xampp\\htdocs\\config.php on line 901
PHP Notice:  Undefined index: transaction in C:\\xampp\\htdocs\\pagseguro_retorno.php on line 95
PHP Notice:  Trying to access array offset on value of type null in C:\\xampp\\htdocs\\pagseguro_retorno.php on line 103
PHP Notice:  Trying to get property 'quantity' of non-object in C:\\xampp\\htdocs\\pagseguro_retorno.php on line 104

pagseguro on config.php
PHP:
$config['pagseguro'] = array(
        'enabled' => true,
        'sandbox' => false,
        'email' => 'MYEMAILISHERE', // Example: [email protected]
        'token' => 'MY TOKEN IS HERE',
        'currency' => 'BRL'
        'product_name' => 'Premium Points',
        'price' => 50, // 1 real
        'ipn' => "http://".$_SERVER['HTTP_HOST']."/pagseguro_ipn.php",
        'urls' => array(
            'www' => 'pagseguro.uol.com.br',
            'ws'  => 'ws.pagseguro.uol.com.br',
            'stc' => 'stc.pagseguro.uol.com.br'
        )
    );

    if ($config['pagseguro']['sandbox']) {
        $config['pagseguro']['urls'] = array_map(function ($item) {
            return str_replace('pagseguro', 'sandbox.pagseguro', $item);
        }, $config['pagseguro']['urls']);
    }

on my db, znote_pagseguro looks like this
1590847558621.png

and znote_pagseguro_notifications looks like this
1590847593929.png

I have the tables in my db and everything in configured right from what I can tell, email, db password and what not
in my config.php I should set ipn to /pagseguro_ipn.php right? cause there's also pagseguro_retorno.php
 
Top