Integracja z API PayU

0

Witam,
miał ktoś do czynienia z API PayU? Dlaczego gdy prześlę formularz w takiej formie jak poniżej, to przenosi mnie poprawnie na stronę PayU, a gdy zmienię cokolwiek w wartościach value, na stronie PayU pojawia się komunikat: "Dostęp do strony jest zabroniony."?

<form method="POST" action="https://secure.payu.com/api/v2_1/orders">
    <input type="hidden" name="customerIp" value="123.123.123.123">
    <input type="hidden" name="merchantPosId" value="145227">
    <input type="hidden" name="description" value="Opis zamówienia">
    <input type="hidden" name="totalAmount" value="1000">
    <input type="hidden" name="currencyCode" value="PLN">
    <input type="hidden" name="products[0].name" value="Produkt 1">
    <input type="hidden" name="products[0].unitPrice" value="1000">
    <input type="hidden" name="products[0].quantity" value="1">
    <input type="hidden" name="notifyUrl" value="http://shop.url/notify">
    <input type="hidden" name="continueUrl" value="http://shop.url/continue">
    <input type="hidden" name="OpenPayu-Signature" type="hidden" value="sender=145227;algorithm=SHA-256;signature=565f9f4dda43c8e24ccab4472133d680e2aa58e1f58bea845c4cf2926965144d">
    <button type="submit" formtarget="_blank">Płacę z PayU</button>
</form>
0

Bo wtedy nie zgadza się wtedy hash w polu OpenPayu-Signature. Tu masz więcej informacji znajdziesz w dokumentacji: http://developers.payu.com/pl/restapi.html#references_form_signature

1 użytkowników online, w tym zalogowanych: 0, gości: 1