mercadolibre / php-sdk

MercadoLibre's PHP SDK
185 stars 266 forks source link

Listing Products requires payment #13

Closed pablovelasquez closed 11 years ago

pablovelasquez commented 11 years ago

Hi Guys, I posted this on the forums, but yet no reply, so I will try here:

I can post free items fine with the API but once it comes to a silver/plata listing I get the return HTTP/1.1 402 Payment Required Server

I noticed that from a month ago Mercado Libre is first listing as free and when upgrading the listing type it requires immediate payment, at least in Colombia, while before it added to the bill for a monthly payment.

how should we handle this with the api? I see it as a big drawback and huge issue to use the api.

I have tried the automatic debit with mercado pago and it still asks for payment.

also when I post with Bronce which is free I get this error: Listing type bronze is not available for category MCO24632. It might be possible that your account run out of this listing type.Don't worry! You can still post with the following listing types [gold_premium, gold, silver, free

Some help? thanks

ZeusMode commented 11 years ago

Hi @pablovelasquez, could you solve this issue?

pablovelasquez commented 11 years ago

Hi @ZeusMode back then I got a response on the forum

Hello there !

Exists 2 services undocumented:

If you need pay an item, use the following resource..

POST ".../items/pay/" {

successful_url: '...', process_url: '...', cancel_url: '...', ids:['ITEM_ID_1', 'ITEM_ID_2', ...],

}

So as I understand if payment is required, a payment link has to be requested for the customer to pay

I haven't been able to work on this anymore and when I did also back then I had other errors from the api just on the basic listing.

I hope that the API is better now so that we can resume our work soon

ZeusMode commented 11 years ago

Okay, i hope see your app soon.

germanio commented 11 years ago

hey guys, just to let you know, we are discussing the same issue, for real-state listing in the ML API (spanish) google group here: https://groups.google.com/forum/?fromgroups=#!category-topic/es-meli-developers/mejoras-de-documentación/JqDJoA6m-Z4

regards,

Ger