[Done] Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Запросы на добавление новых/исправление существующих сревисов
Requests for add new or update/fix existing service

Moderator: Moderators

ichor
Posts: 3270
Joined: Mon Jan 11, 2016 4:12 pm
Has thanked: 46 times
Been thanked: 550 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by ichor »

matma, there are no any important updates in that xml. Service pl_post now works well too. You can switch off service "pl".
matma
Posts: 15
Joined: Mon Feb 29, 2016 10:25 pm
Been thanked: 1 time

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by matma »

There is another problem right now. When a shipment is delivered it does not display as "Completed"
temper
Posts: 145
Joined: Thu Sep 24, 2015 12:39 pm
Has thanked: 51 times
Been thanked: 5 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by temper »

matma wrote:There is another problem right now. When a shipment is delivered it does not display as "Completed"
Which tracking number you have tried? Same tracking code?
Finalization rule should be fixed.
matma
Posts: 15
Joined: Mon Feb 29, 2016 10:25 pm
Been thanked: 1 time

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by matma »

Other vendors normally show themselves as "Completed".

Shipping number: 00259007731464623799, 00959007731719070346, 00959007731709586291.

More shipping numbers have not been checked.
ichor
Posts: 3270
Joined: Mon Jan 11, 2016 4:12 pm
Has thanked: 46 times
Been thanked: 550 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by ichor »

Поправил чуть парсинг, чтобы лишние пробелы сервис не убивали, и финализацию.

Fixed finalization.
You do not have the required permissions to view the files attached to this post.
User avatar
MetalFan
Administator
Posts: 9143
Joined: Fri Sep 14, 2012 9:50 am
Location: Moscow
Has thanked: 348 times
Been thanked: 943 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by MetalFan »

wbw, MetalFan
wolff76
Posts: 6
Joined: Tue Oct 31, 2017 2:21 pm

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by wolff76 »

pl_post: 31 окт 2017 21:37:35 PreParseError

что-то сломалось? Номер валидный, по ссылке открывается страница с информацией по треку.
wolff76
Posts: 6
Joined: Tue Oct 31, 2017 2:21 pm

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by wolff76 »

SID: pl_post
URL: http://emonitoring.poczta-polska.pl/?numer= , http://emonitoring.poczta-polska.pl/?lang=en&numer=
OS: Win10
App: 1.0.14 b470 (for Win portable), sv20171003
Трек-номер:
 Hidden text. You are not a member of the groups to which this text is available
Проблема: ошибка в логе: pl_post: 1-Nov-2017 12:14:33 PreParseError, информация не загружается.
nisarfr
Posts: 79
Joined: Wed Nov 23, 2016 2:40 pm
Location: India
Has thanked: 13 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by nisarfr »

not working
RR963275403PL
ichor
Posts: 3270
Joined: Mon Jan 11, 2016 4:12 pm
Has thanked: 46 times
Been thanked: 550 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by ichor »

Fixed.
You do not have the required permissions to view the files attached to this post.
User avatar
MetalFan
Administator
Posts: 9143
Joined: Fri Sep 14, 2012 9:50 am
Location: Moscow
Has thanked: 348 times
Been thanked: 943 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by MetalFan »

wbw, MetalFan
Dusha
Posts: 46
Joined: Fri Dec 14, 2012 8:34 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by Dusha »

сломалась почта.
проверял только на мобильной версии (Андроид)
За Десктом не скажу.
 Hidden text. You are not a member of the groups to which this text is available
ichor
Posts: 3270
Joined: Mon Jan 11, 2016 4:12 pm
Has thanked: 46 times
Been thanked: 550 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by ichor »

Починил.
Первый трек не отслеживается на их сайте.
You do not have the required permissions to view the files attached to this post.
Dusha
Posts: 46
Joined: Fri Dec 14, 2012 8:34 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by Dusha »

Прошу прощения, не могу найти, а как этот xml импортнуть в мобильные сервисы?
Dusha
Posts: 46
Joined: Fri Dec 14, 2012 8:34 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by Dusha »

Разобрался, через десктоп импортнул.
Есть еще пара моментов.
1. Давно заметил, что некоторые события не подтягиваются.
Это видно на треке
 Hidden text. You are not a member of the groups to which this text is available
, событие за 2018-07-11 19:21, wyslanie przesylki, WER Warszawa - не подтягивается.

2. При использовании функции открыть на сайте, почему то ссылка прямая не генериться
 Hidden text. You are not a member of the groups to which this text is available
Вторую часть починил, надо http заменить на https в xmlke
ichor
Posts: 3270
Joined: Mon Jan 11, 2016 4:12 pm
Has thanked: 46 times
Been thanked: 550 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by ichor »

fixed
You do not have the required permissions to view the files attached to this post.
ichor
Posts: 3270
Joined: Mon Jan 11, 2016 4:12 pm
Has thanked: 46 times
Been thanked: 550 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by ichor »

В мобилке не работает. Поправил и проверил, теперь гуд.
You do not have the required permissions to view the files attached to this post.
andrew-bc
Posts: 3
Joined: Wed Oct 12, 2016 8:57 pm

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by andrew-bc »

Просьба добавить финализацию по фразе "Odebrano w punkcie odbioru..."
[+]
Image
ichor
Posts: 3270
Joined: Mon Jan 11, 2016 4:12 pm
Has thanked: 46 times
Been thanked: 550 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by ichor »

andrew-bc, насколько я понимаю это значит "Пришло в пункт доставки" типа как "прибыло в почтовое отделение", а не доставлено. К тому же после данного события ещё события есть по треку.
andrew-bc
Posts: 3
Joined: Wed Oct 12, 2016 8:57 pm

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by andrew-bc »

ichor, это значит, что посылку забрали. А в данном треке, я сам не знаю почему, но после того, когда забрал посылку, спустя время написали, что посылка доставлена в пункт и я могу ее забрать. Это просто неудачный пример, но указанна мной выше фраза 100% обозначает, что получатель забрал посылку)
ichor
Posts: 3270
Joined: Mon Jan 11, 2016 4:12 pm
Has thanked: 46 times
Been thanked: 550 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by ichor »

andrew-bc wrote:"Odebrano w punkcie odbioru..."
убрал финализацию по этому событию, так как поляки жалуются, что посылки финализируются раньше времени. Думаю они более в курсе, как у них почта работает и что это значит.
User avatar
MetalFan
Administator
Posts: 9143
Joined: Fri Sep 14, 2012 9:50 am
Location: Moscow
Has thanked: 348 times
Been thanked: 943 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by MetalFan »

wbw, MetalFan
mjk
Posts: 4
Joined: Sun Apr 18, 2021 3:08 pm
Has thanked: 1 time
Been thanked: 3 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by mjk »

Hello,
I see problems with pl_post not getting new events. I think that Poczta Polska changed something on website. I checked this on 2 different Android phones and result is the same.
Can you check it?
 Hidden text. You are not in the default group to which this text is available
Maybe it's time to switch to dedicated API for this service? Details you could find (sadly only in Polish) on https://www.poczta-polska.pl/webservices/
User avatar
MetalFan
Administator
Posts: 9143
Joined: Fri Sep 14, 2012 9:50 am
Location: Moscow
Has thanked: 348 times
Been thanked: 943 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by MetalFan »

mjk, I tried to user provided SOAP API and username/pwd they provided in docs, but getting "WSDoAllReceiver: Incoming message does not contain required Security header". I don't know what else I can do(
wbw, MetalFan
mjk
Posts: 4
Joined: Sun Apr 18, 2021 3:08 pm
Has thanked: 1 time
Been thanked: 3 times

Re: Почта Польши. Poczta Polska. Poland Post (SID: pl_post)

Post by mjk »

I think there is some issue with copy&paste from this pdf because it didn't work for me also. There are some missing '-' after paste.

This works for me:

Code: Select all

$ curl -X POST -H "Content-Type: text/xml" -H 'SOAPAction: "http://sledzenie.pocztapolska.pl/sprawdzPrzesylke"' --data-binary @pp2.xml https://tt.poczta-polska.pl/Sledzenie/services/Sledzenie?wsdl
and pp2.xml file looks like that:

Code: Select all

<soapenv:Envelope xmlns:sled="http://sledzenie.pocztapolska.pl" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
  <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
   <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>sledzeniepp</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PPSA</wsse:Password>
   </wsse:UsernameToken>
  </wsse:Security>
</soapenv:Header>
 <soapenv:Body>
  <sled:sprawdzPrzesylke>
   <sled:numer>RV572077294CN</sled:numer>
 </sled:sprawdzPrzesylke>
 </soapenv:Body>
</soapenv:Envelope>
Helpful for me was https://coderoad.ru/26226381/Android-ks ... 0%B8%D0%B8 and https://github.com/mmprog/wspocztapolsk ... r/pocztaws

You could also try to use 'sprawdzPrzesylkePl' method as it returns even mode data.