This documentation is deprecated and only available for supporting old/legacy integrations using for example hashes.
New documentation can be found here: Home
Add Delivery Information examples
Â
Skip to contents in this page
AddDeliveryInfo Request examples
Â
Adding Posti tracking code, but not the last one:
(pkg_allsent=N)
<form action="https://test1.maksuturva.fi/addDeliveryInfo.pmt">
<input type="hidden" name="pkg_version" value="0002">
<input type="hidden" name="pkg_sellerid" value="ABC123DE">
<input type="hidden" name="pkg_id" value="1998524_1">
<input type="hidden" name="pkg_deliverymethodid" value="ITELL">
<input type="hidden" name="pkg_adddeliveryinfo" value="JJFI12345612345123456">
<input type="hidden" name="pkg_allsent" value="N">
<input type="hidden" name="pkg_forceupdate" value="N">
<input type="hidden" name="pkg_resptype" value="HTML">
<!--<input type="hidden" name="pkg_return" value="">-->
<input type="hidden" name="pkg_hashversion" value="SHA-256">
<input type="hidden" name="pkg_hash" value="CFDDF22DD538FFECF6F784F5E10C88A3704ED597E700DE6A36979D868574B8C4">
<input type="hidden" name="pkg_keygeneration" value="1">
<input type="submit" value="Add delivery info">
</form>
Adding the final Posti tracking code:
(pkg_allsent=Y)
<form action="https://test1.maksuturva.fi/addDeliveryInfo.pmt">
<input type="hidden" name="pkg_version" value="0002">
<input type="hidden" name="pkg_sellerid" value="ABC123DE">
<input type="hidden" name="pkg_id" value="1998524_1">
<input type="hidden" name="pkg_deliverymethodid" value="ITELL">
<input type="hidden" name="pkg_adddeliveryinfo" value="JJFI12345612345123456">
<input type="hidden" name="pkg_allsent" value="Y">
<input type="hidden" name="pkg_forceupdate" value="N">
<input type="hidden" name="pkg_resptype" value="HTML">
<!--<input type="hidden" name="pkg_return" value="">-->
<input type="hidden" name="pkg_hashversion" value="SHA-256">
<input type="hidden" name="pkg_hash" value="CA40867A33B5E6ACD525F89E398970A98C73F83AF9D02EAECCAFE2E2E92636E1">
<input type="hidden" name="pkg_keygeneration" value="1">
<input type="submit" value="Add delivery info">
</form>
AddDeliveryInfo Response examples:
Â
OK Response:
<pmtq>
<pkg_resultcode>00</pkg_resultcode>
<pkg_version>0002</pkg_version>
<pkg_hash>9CDDD56A2E2756818D1E029153CD8DF7A6DD4ACE33296FB2CB5948AF3D5BA4AC</pkg_hash>
<pkg_resulttext>OK</pkg_resulttext>
<pkg_sellerid>ABC123DE</pkg_sellerid>
<pkg_id>1998524_1</pkg_id>
</pmtq>
Error Response:
(pkg_id missing from the request)
Error Response:
(pkg_hash did not match the value calculated by Svea Payments)