Are item durations automatically extended?

  • postiljon

    19 messaggi

    Paesi Bassi

    It seems that items I posted in december with a duration of 28 days are automatically extended:

    This is what I posted in december:

    2021-12-14 17:12:33 2. Array content | Array
    (
    [type] => fixedPrice
    [item] => Array
    (
    [date_end] => 2022-01-11 05:12:32
    [duration] => 28
    [renew] => 0

    My items should end on 11-1, but they seem to end on 8-2-2022, which is another 28 days later?
  • @thomas
    Amministratore

    348 messaggi

    Belgio

    It seems that items I posted in december with a duration of 28 days are automatically extended:

    This is what I posted in december:

    2021-12-14 17:12:33 2. Array content | Array
    (
    [type] => fixedPrice
    [item] => Array
    (
    [date_end] => 2022-01-11 05:12:32
    [duration] => 28
    [renew] => 0

    My items should end on 11-1, but they seem to end on 8-2-2022, which is another 28 days later?
    Hello postiljon,

    Can you provide me with the item id so that I can investigate and understand what actually happened?

    Best Regards,
    --
    Thomas
    Delcampe Team
  • postiljon

    19 messaggi

    Paesi Bassi

    Two examples (out of hundreds) 1406444803 and 1406444821.
  • emmbersplace

    908 messaggi

    Filippine

    Two examples (out of hundreds) 1406444803 and 1406444821.
    I suggest that you check your terms and see what yu asked the site to do.

    Items are extended automatically for whatever period that you select unless you instruct not to. for instance by entering no renewal from the drop-down menu for item 4 on the selling form etc
  • emmbersplace

    908 messaggi

    Filippine

    sorry premature answer - apologies. you have done that aleeady. oops
  • @thomas
    Amministratore

    348 messaggi

    Belgio

    Two examples (out of hundreds) 1406444803 and 1406444821.
    Hello postiljon,

    I see that the 2 items mentioned have been put on sale with 5 renewals planned. The behavior is therefore the one expected.

    Kind Regards,
    --
    Thomas
    Delcampe Team
  • postiljon

    19 messaggi

    Paesi Bassi

    This is the literal XML message that is sent to the API

    2021-12-12 17:29:43 2. Array content | Array
    (
    [type] => fixedPrice
    [item] => Array
    (
    [id_country] => 3
    [id_category] => 7660
    [fixed_price] => 22.50
    [currency] => EUR
    [title] => Meter top cut USA 1942 Bird of prey - Eagle
    [personal_reference] => 794
    [qty] => 1
    [date_end] => 2022-01-09 05:29:42
    [duration] => 28
    [description] => Meter top cut USA 1942 Bird of prey - Eagle
    [renew] => 0
    [option_lastminutebidding] =>
    [option_privatebidding] =>
    [option_subtitle] =>
    [subtitle] =>
    [option_boldtitle] =>
    [option_highlight] =>
    [option_coloredborder] =>
    [option_toplisting] =>
    [option_topcategory] =>
    [option_topmain] =>
    [option_keepoptionsonrenewal] =>
    [prefered_end_day] => mon
    [prefered_end_hour] => 15:00
    [images] => Array
    (
    [0] => Link (https)
    [1] => Link (https)
    )

    )

    )


    As you can see renew is set to 0! Not 5.
  • @thomas
    Amministratore

    348 messaggi

    Belgio

    This is the literal XML message that is sent to the API

    2021-12-12 17:29:43 2. Array content | Array
    (
    [type] => fixedPrice
    [item] => Array
    (
    [id_country] => 3
    [id_category] => 7660
    [fixed_price] => 22.50
    [currency] => EUR
    [title] => Meter top cut USA 1942 Bird of prey - Eagle
    [personal_reference] => 794
    [qty] => 1
    [date_end] => 2022-01-09 05:29:42
    [duration] => 28
    [description] => Meter top cut USA 1942 Bird of prey - Eagle
    [renew] => 0
    [option_lastminutebidding] =>
    [option_privatebidding] =>
    [option_subtitle] =>
    [subtitle] =>
    [option_boldtitle] =>
    [option_highlight] =>
    [option_coloredborder] =>
    [option_toplisting] =>
    [option_topcategory] =>
    [option_topmain] =>
    [option_keepoptionsonrenewal] =>
    [prefered_end_day] => mon
    [prefered_end_hour] => 15:00
    [images] => Array
    (
    [0] => Link (https)
    [1] => Link (https)
    )

    )

    )


    As you can see renew is set to 0! Not 5.
    I don't understand what is going on in this case.
    I don't have the log of the data you send in your POST but when I test with the data you shared, I have 0 renewals.

    The items you shared with me are not linked to your account but to one of your customers I guess?
  • postiljon

    19 messaggi

    Paesi Bassi

    Yes I manage two Delcampe API accounts.
    This forum post is made under the postiljon account, the other account (with the problems) is topicalcovers.

    For many years I always upload both accounts the same way to the API (postiljon has no problems, topicalcovers does have problems).

    Topicalcovers items are renewed against the explicit API option. And I don't understand why.

    See Link (https)

    Start sale:
    dinsdag 14 december 2021 om 17:12
    End sale:
    dinsdag 8 februari 2022 om 05:12

    This sale should have ended (after 28 days) around 11th of January (because of zero renews): however it was renewed for another 28 days.
  • @thomas
    Amministratore

    348 messaggi

    Belgio

    If you modify this item via the interface you can see that there are 5 renewals.

    Can you try to put the same item on sale with the renewal at 0 on this account?

    Thanks,
  • postiljon

    19 messaggi

    Paesi Bassi

    If I try to add the item, Delcampe API tells me (correctly) that the item already exists...
  • @thomas
    Amministratore

    348 messaggi

    Belgio

    If I try to add the item, Delcampe API tells me (correctly) that the item already exists...
    I am not aware of any such security on our API. What path do you use to put on sale?
  • postiljon

    19 messaggi

    Paesi Bassi

    In my code I check whether the item already exist on Delcampe. In the past we have had issues with this.

    So I first ask the Delcampe API: do you know this item, if so: it already exists and I don't need to upload it, if it doesn't I can safely upload it.

    This is to prevent duplicate items.
  • @thomas
    Amministratore

    348 messaggi

    Belgio

    In my code I check whether the item already exist on Delcampe. In the past we have had issues with this.

    So I first ask the Delcampe API: do you know this item, if so: it already exists and I don't need to upload it, if it doesn't I can safely upload it.

    This is to prevent duplicate items.
    I see that on the Topicalcovers account most of the items have been put on sale with 0 renewals. The system seems to work as expected.

    As I don't have any logs on your POSTs, I have no way to investigate further the problem you seemed to encounter.

    If the problem occurs again, please get back to me and we'll do some more testing.

    Kind Regards,
    --
    Thomas
    Delcampe Team
  • postiljon

    19 messaggi

    Paesi Bassi

    I find this Github diff very interesting!

    Link (https)

Unisciti alla community di collezionisti!

Registrati Login