Xeroapi plug in for Amember - connecting?

Discussion in '3rd Party Service Providers' started by david_hunt, Dec 7, 2013.

  1. david_hunt

    david_hunt aMember Pro Customer

    Joined:
    Jan 1, 2013
    Messages:
    32
    I have been told I need to get a private key and public key at

    http://developer.xero.com/documentation/advanced-docs/public-private-keypair/

    But I am very puzzled as to how these instructions would pass any information between the 2 programs

    for example the instructions do not show any reference to the following:

    * Consumer Key

    * Consumer Secret

    Required by amember.com


    nor the Your Xero Network key:""

    What am I missing?

    If it helps I get the error

    05/12/13, 02:13 PM
    …member/payment/paypal/ipn
    173.0.81.1Xero API ErrorType: oauth_problem ErrorTitle: consumer_key_unknown ErrorAdviseType: oauth_problem_advice ErrorAdviseTitle Consumer%20key%20was%20not%20recognised<br/>

    Exception Am_Exception_InternalError
    Am_Plugin_Xeroapi->onPaymentAfterInsert
    call_user_func [ library/Am/Event.php : 527 ]
    Am_Event->call [ library/Am/Event.php : 550 ]
    Am_Event->handle [ library/Am/Hook.php : 200 ]
    Am_Hook->call [ application/default/models/InvoicePayment.php : 87 ]
    InvoicePayment->insert [ application/default/models/Invoice.php : 1193 ]
    Invoice->addPaymentWithoutAccessPeriod [ application/default/models/Invoice.php : 1164 ]
    Invoice->addPayment [ application/default/plugins/payment/paypal.php : 269 ]
    Am_Paysystem_Paypal_Transaction->processValidated [ library/Am/Paysystem/Transaction/Abstract.php : 49 ]
    Am_Paysystem_Transaction_Abstract->process [ library/Am/Paysystem/Transaction/Incoming.php : 231 ]
    Am_Paysystem_Transaction_Incoming->process [ library/Am/Paysystem/Abstract.php : 463 ]
    Am_Paysystem_Abstract->directAction [ application/default/controllers/DirectController.php : 29 ]
    DirectController->__call [ library/Am/Controller.php : 118 ]
    Am_Controller->dispatch [ library/Zend/Controller/Dispatcher/Standard.php : 295 ]
    Zend_Controller_Dispatcher_Standard->dispatch [ library/Zend/Controller/Front.php : 954 ]
    Zend_Controller_Front->dispatch [ library/Am/App.php : 1681 ]
    Am_App->run [ index.php : 43 ]

Share This Page