Add listing in Sandbox Mode issue

42 views
Skip to first unread message

Yasir Mehmood

unread,
Oct 30, 2012, 2:23:59 AM10/30/12
to etsy-...@googlegroups.com
Hi Etsy Team,

I am facing issue in adding a listing in sandbox...

It gives me the same error again and again...

ERROR: The user must have a payment template in order to create or update a listing.

This is what i am sending as parameter.

[file] => /home/android/public_html/API/sandbox/sandboxMode.php
                    [line] => 54
                    [function] => fetch
                    [class] => OAuth
                    [type] => ->
                    [args] => Array
                        (
                            [0] => http://sandbox.openapi.etsy.com/v2/listings
                            [1] => Array
                                (
                                    [quantity] => 1
                                    [title] => My Test Listing
                                    [description] => My Test Description
                                    [price] => 10
                                    [category_id] => 68887312
                                    [who_made] => i_did
                                    [is_supply] => 0
                                    [when_made] => 2010_2012
                                )

                            [2] => POST
                        )

                )

This is what i get in response..


[lastResponse] => The user must have a payment template in order to create or update a listing..


Can you please check it, as i have listed an item with the same account on live site and works fine.

Waiting for your response.


Thanks,
Yasir.

Chris Dary

unread,
Oct 30, 2012, 3:26:12 PM10/30/12
to etsy-...@googlegroups.com
Hi Yasir,

The sandbox is a separate instance of the site entirely - some data gets copied from the live site when you login for the first time for convenience but much of it does not. Here you need to create a payment template for your user, which is pretty simple using the API:


It'll probably look something like a POST with data like:

allow_check=1&name=test-user&first_line=address-line-1&second_line=address-line-2&city=Brooklyn&state=NY&zip=11201&country_id=209

Hope this helps,

-Chris


--
 
 

Reply all
Reply to author
Forward
0 new messages