question

InactiveAutoUser avatar image
0 Likes"
InactiveAutoUser asked ·

I do I write a subscription listener in PHP?

 

 

 

I have a testuser setup in the sandbox and when I try to have this user subscribe to my embedded application I get the a error message '

 

Page Not Responding

 

The URL I put in my deployment descriptor is available on the internet. 

 

and in my dd I have ...

 

 

        <Implements>

                <Feature name="subscription" />

        </Implements>

...

 

        <Gadget>

                <Module xmlns="www.opensocial.org/gadget/2008">

                        <ModulePrefs title="My Test Selling Manager Application">

...

                               <!--

                                        Endpoint for the OEPI interface (addSubscriber listener).

                                        Required only when the subscription feature is present in the <implements> tag in

                                        this deployment descriptor. eBay sends addSubscriber and removeSubscriber calls to

                                        this address. HTTPS is  recommended.

                                -->

                                        <Link rel="EndPoint.Management" href="http://mywebpagethatworks:81/here/IntegrationManagement.php" />

 

 

So is there an example of a addSubscriber listener written in PHP?

For some reason I feel that purchasing support hours for 'live help' would be a waste of money.

What has your experience been with this paid support?

 

10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
kioui_apps avatar image
0 Likes"
kioui_apps answered ·

I created a start of a listener with zend

 

// we create the xml rpc server

$server =

new Zend_XmlRpc_Server();

$server->setClass(

'Application_Model_DataListenerEbayOpen');

 

$request =

new Zend_XmlRpc_Request();

$request->setMethod(

'removeSubscriber');

$request->setMethod($_GET[cmd]);

 

$server->setResponseClass(

'Application_Model_EbayOpenListenerResponse');

$Response = $server->handle($request);

 

 

however I am still working on the sending the response to ebay with the ack, ....

If you get an answer I would appreciate the sharing :)

· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.