<body on___load="document.getElementById('payu-payment-form').submit();"> <input type="hidden" name="notifyUrl" value="http://www.toys-zabawki.pl/lib/pay/payu/OrderNotify.php" /> <input type="hidden" name="continueUrl" value="http://www.toys-zabawki.pl/lib/pay/payu/success.php" /> <input type="hidden" name="customerIp" value="46.235.126.76" /> <input type="hidden" name="merchantPosId" value="198390" /> <input type="hidden" name="description" value="ORDER 2016000035" /> <input type="hidden" name="currencyCode" value="PLN" /> <input type="hidden" name="totalAmount" value="4400" /> <input type="hidden" name="extOrderId" value="14533019946459" /> <input type="hidden" name="products[0].name" value="Order 2016000035" /> <input type="hidden" name="products[0].unitPrice" value="4400" /> <input type="hidden" name="products[0].quantity" value="1" /> <input type="hidden" name="buyer.email" value="pawel@vtmotys.pl" /> <input type="hidden" name="buyer.phone" value="123123123" /> <input type="hidden" name="buyer.firstName" value="Jan " /> <input type="hidden" name="buyer.lastName" value="Kowalski" /> </body>
Zastanawia mnie też czy sygnatura może być przesyłana jako hash SHA-1 (jak obecnie mam w kodzie), czy też musi to być MD5 (jak widzę na przykładach w Pomocy PayU)?
Proszę o weryfikację powyższego kodu, może czegoś jeszcze nie przesyłam w tej formie lub przesyłam źle lub na zły adres? Będę wdzięczny za pomoc jeśli ktoś integrował już PayU i/lub miał podobny problem.