Jest to forma, można wykorzystać do integracji PAY U, gatway płatności
<form method="post" action="https://secure.payu.com/api/v2_1/orders">
<input type="hidden" name="continueUrl" value="http://shop.url/continue" >
<input type="hidden" name="currencyCode" value="PLN" >
<input type="hidden" name="customerIp" value="123.123.123.123" >
<input type="hidden" name="description" value="Order description" >
<input type="hidden" name="merchantPosId" value="145227" >
<input type="hidden" name="notifyUrl" value="http://shop.url/notify" >
<input type="hidden" name="products[0].name" value="Product 1" >
<input type="hidden" name="products[0].quantity" value="1" >
<input type="hidden" name="products[0].unitPrice" value="1000" >
<input type="hidden" name="totalAmount" value="1000" >
<input type="hidden" name="OpenPayu-Signature" value="sender=145227;algorithm=MD5;signature=5fa8d94670eee6d182e930a0ccf9c2c6" >
<button type="submit" formtarget="_blank" >Pay with PayU</button>
</form >
trzeba zapewnić, aby wszystkie wartości dynamicznie jak nazwa produktu, cena, ilość, itp. Sprawdź też więcej pod adresem
http://developers.payu.com/en/restapi.html
Próbuję. Ale nie rozumiem tej filozofii. Kiedy będę miał formularz z działaniem na PayU, w jaki sposób zaoszczędzę zamówienie po stronie eshop. Drugą sprawą jest to, że chcę mieć bibliotekę powyżej, ale nie mogę zrobić żadnego postępu. – tomasr
weź tabelę, w której przechowywane są dane o zamówieniu ze statusem płatności, które oczekują na status przed dokonaniem płatności i aktualizują je do sukcesu po dokonaniu płatności. – Priyank