私は正常に動作しているビューでこれを試しましたが、コントローラーからこれらの静的パラメーターを動的に渡すことができません。MVC の専門家の友人が私の状況で私を助けてください。支援に非常に感謝します。
コードを表示:
<form action="https://secure-test.worldpay.com/wcc/purchase" name="BuyForm" method="POST">
<input type="hidden" name="instId" value="211616"><!-- The "instId" value "211616" should be replaced with the Merchant's own installation Id -->
<input type="hidden" name="cartId" value="abc123"><!-- This is a unique identifier for merchants use. Example: PRODUCT123 -->
<input type="hidden" name="currency" value="GBP"><!-- Choose appropriate currency that you would like to use -->
<input type="hidden" name="amount" value="400">
<input type="hidden" name="desc" value="Product-1,Product-2,Product-3,Product-4">
<input type="hidden" name="testMode" value="100">
<input type="submit" value="submit" />
</form>