dom942331 (07 Октябрь 2014 - 18:42) писал:
Вот код самой формы:
<form tooltipx=" ( откроется в новом окне )" action="http://sprypay.ru/sppi/" method="POST" accept-charset="utf-8" target="_blank">
<input name="spShopId" value="220692" type="hidden">
<input name="spShopPaymentId" value="0001" type="hidden">
<input name="spCurrency" value="rur" type="hidden">
<input name="spPurpose" value="назначение платежа" type="hidden">
<input name="spAmount" vale="0" type="hidden">
<input name="spUserDataUserId" value="1234567" type="hidden">
<input name="spIpnUrl" value="http://some.site.ru/...ipn.script.php" type="hidden">
<input name="spIpnMethod" value="1" type="hidden">
<input name="spSuccessUrl" value="http://some.site.ru/...ccess.page.php" type="hidden">
<input name="spSuccessMethod" value="1" type="hidden">
<input name="spFailUrl" value="http://some.site.ru/.../fail.page.php" type="hidden">
<input name="spFailMethod" value="1" type="hidden">
<input name="lang" value="ru" type="hidden">
<input value="оплатить" type="submit">
</form>
<input name="spAmount" vale="0" type="hidden">
замените на:
<input name="spAmount" vale="{GOODS_MOD_PRICE_NOW}" type="hidden">