Payeer IPN not confirming the payment ..

Discussion in 'Payment Systems' started by lseparatio2020, Jul 7, 2018.

  1. lseparatio2020

    lseparatio2020 New Member

    Joined:
    Feb 17, 2017
    Messages:
    14
    I work with Payeer everything is working good but in amember the order remain "Pending "..how i can fix this ..because is hard to confirm all payments manualy
    Last edited: Jul 7, 2018
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    Hello,

    Do you see anything in error/invoice log?
    aMember CP -> Utilities -> Log -> Errors
    aMember CP -> Utilities -> Log -> Invoice


    Thanks.
  3. lseparatio2020

    lseparatio2020 New Member

    Joined:
    Feb 17, 2017
    Messages:
    14
    IPN seems to be received from unknown source, not from the paysystem
    Exception Am_Exception_Paysystem_TransactionSource
    Am_Paysystem_Transaction_Incoming->validate [ library/Am/Paysystem/Transaction/Abstract.php : 48 ]
    Am_Paysystem_Transaction_Abstract->process [ library/Am/Paysystem/Transaction/Incoming.php : 268 ]
    Am_Paysystem_Transaction_Incoming->process [ library/Am/Paysystem/Abstract.php : 524 ]
    Am_Paysystem_Abstract->directAction [ application/default/plugins/payment/payeer.php : 80 ]
    Am_Paysystem_Payeer->directAction [ application/default/controllers/DirectController.php : 22 ]
    DirectController->__call [ library/Am/Mvc/Controller.php : 107 ]
    Am_Mvc_Controller->dispatch [ library/Zend/Controller/Dispatcher/Standard.php : 307 ]
    Zend_Controller_Dispatcher_Standard->dispatch [ library/Zend/Controller/Front.php : 956 ]
    Zend_Controller_Front->dispatch [ library/Am/App.php : 2232 ]
    Am_App->run [ index.php : 92 ]

    And for example thaks page in the plugin is for my :
    https://zaivlife.com/billionairess/payment/payeer/thanks , but is returning :
    Fatal error: Call to a member function getConfig() on null in /home/www/zaivlife.com/billionairess/library/Am/Paysystem/Transaction/Incoming.php on line 227
  4. lseparatio2020

    lseparatio2020 New Member

    Joined:
    Feb 17, 2017
    Messages:
    14
    And in Log - Invoice :
    07/06/18, 11:04 PM—185.71.65.92payeerPOSTBACK [ipn]
    incoming-request
    <invoice-log-item type="incoming-request">
    <url>
    <method>POST</method>
    <scheme>https</scheme>
    <base_url>/billionairess</base_url>
    <path_info>/payment/payeer/ipn</path_info>
    <host>zaivlife.com</host>
    <remote_addr>185.71.65.92</remote_addr>
    </url>
    <params>
    <param name="m_operation_id">605984065</param>
    <param name="m_operation_ps">2609</param>
    <param name="m_operation_date">07.07.2018 01:57:50</param>
    <param name="m_operation_pay_date">07.07.2018 01:58:09</param>
    <param name="m_shop">595876906</param>
    <param name="m_orderid">5NRM3</param>
    <param name="m_amount">2.48</param>
    <param name="m_curr">EUR</param>
    <param name="m_desc">MiDigqwgQWZmaWxpYXRl</param>
    <param name="m_status">success</param>
    <param name="m_sign">E6A93BDE0A5E4ABB55C76D121F766270219310D2E325662B57725D7592973725</param>
    <param name="summa_out">2.48</param>
    <param name="transfer_id">605984181</param>
    <param name="client_account">P1002118397</param>
    <param name="client_email">bnchak88@gmail.com</param>
    </params>
    </invoice-log-item>
    ............................................................................................................................................
    exception
    <invoice-log-item type="exception">
    <type>Am_Exception_Paysystem_TransactionSource</type>
    <message>IPN seems to be received from unknown source, not from the paysystem</message>
    <trace>
    <call>
    <function>Am_Paysystem_Transaction_Incoming-&gt;validate</function>
    <file>/home/www/zaivlife.com/billionairess/library/Am/Paysystem/Transaction/Abstract.php</file>
    <line>48</line>
    </call>
    <call>
    <function>Am_Paysystem_Transaction_Abstract-&gt;process</function>
    <file>/home/www/zaivlife.com/billionairess/library/Am/Paysystem/Transaction/Incoming.php</file>
    <line>268</line>
    </call>
    <call>
    <function>Am_Paysystem_Transaction_Incoming-&gt;process</function>
    <file>/home/www/zaivlife.com/billionairess/library/Am/Paysystem/Abstract.php</file>
    <line>524</line>
    </call>
    <call>
    <function>Am_Paysystem_Abstract-&gt;directAction</function>
    <file>/home/www/zaivlife.com/billionairess/application/default/plugins/payment/payeer.php</file>
    <line>80</line>
    </call>
    <call>
    <function>Am_Paysystem_Payeer-&gt;directAction</function>
    <file>/home/www/zaivlife.com/billionairess/application/default/controllers/DirectController.php</file>
    <line>22</line>
    </call>
    <call>
    <function>DirectController-&gt;__call</function>
    <file>/home/www/zaivlife.com/billionairess/library/Am/Mvc/Controller.php</file>
    <line>107</line>
    </call>
    <call>
    <function>Am_Mvc_Controller-&gt;dispatch</function>
    <file>/home/www/zaivlife.com/billionairess/library/Zend/Controller/Dispatcher/Standard.php</file>
    <line>307</line>
    </call>
    <call>
    <function>Zend_Controller_Dispatcher_Standard-&gt;dispatch</function>
    <file>/home/www/zaivlife.com/billionairess/library/Zend/Controller/Front.php</file>
    <line>956</line>
    </call>
    <call>
    <function>Zend_Controller_Front-&gt;dispatch</function>
    <file>/home/www/zaivlife.com/billionairess/library/Am/App.php</file>
    <line>2232</line>
    </call>
    <call>
    <function>Am_App-&gt;run</function>
    <file>/home/www/zaivlife.com/billionairess/index.php</file>
    <line>92</line>
    </call>
    </trace>
    </invoice-log-item>
  5. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    Do you have correct "Secret Key" within plugin configuration?
    aMember CP -> Configuration -> Setup/Configuration -> Payeer
  6. lseparatio2020

    lseparatio2020 New Member

    Joined:
    Feb 17, 2017
    Messages:
    14
    Yes i just duble cecked now and i ask the payeer to resend the notification . I have the same error .
    In payeer on notification i have this (maby is helping you to understand what is happening ) :
    ID: 605984182
    Operation ID: 605984065
    Status: process
    Date of reply: 07 Jul 2018 02:13
    HEADER
    Array
    (
    [0] => HTTP/1.1 200 OK
    [Date] => Fri, 06 Jul 2018 23:13:02 GMT
    [Server] => Apache
    [X-Powered-By] => PHP/5.6.36
    [Expires] => Thu, 19 Nov 1981 08:52:00 GMT
    [Cache-Control] => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    [Pragma] => no-cache
    [Set-Cookie] => PHPSESSID=nvtl9q6o0njtvbhv3vcjem0pf2; path=/; domain=.zaivlife.com; HttpOnly
    [Upgrade] => h2
    [Connection] => Upgrade, Keep-Alive
    )
    BODY
    <!DOCTYPE html><html lang="en-US"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="https://gmpg.org/xfn/11"> <link rel="ping
  7. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    Can you contact us in helpdesk?
    https://www.amember.com/support

    I need to verify hash calculation. It is better to do it in private because of it involve your Secret Key.

    Best Regards.
  8. lseparatio2020

    lseparatio2020 New Member

    Joined:
    Feb 17, 2017
    Messages:
    14
    I just sent , thank you for help .

Share This Page