0
我使用RETURN URL
的以下代碼。如何通過PayPal IPN傳遞自定義數據
@foreach (var item in Model)
{
<form action='@item.PayPalURL2 ' method='post'>
<input type='hidden' name='cmd' value='_xclick' />
<input type='hidden' name='business' value='@item.BusinessEmail' />
<input name='item_name' value='@item.Name' class="ppField" readonly="readonly"/>
<input type='hidden' name='item_number' value='@item.ID' />
<input name='amount' value='@item.Price2' class="ppField" readonly="readonly"/>
<input type='hidden' name='return' value='@item.ReturnURL' />
<input type='hidden' name='custom' value='@item.UserID' />
<input type='submit' value='Buy' />
</form>
}
任何線索如何傳遞custom
提交到IPN message
,並通過Listener
怎麼做呢?
謝謝!!!