I am in beginner programming. I want to get some coins on my site through https://www.coinpayments.net/ I found a class library on that site to call API for transactions And a form tag to post values Now I'm confused which one should I use?
<form action="https://www.coinpayments.net/index.php" method="post">
<input type="hidden" name="cmd" value="_pay">
<input type="hidden" name="reset" value="1">
<input type="hidden" name="merchant" value="606a89bb575311badf510a4a8b79a45e">
<input type="hidden" name="currency" value="LTC">
<input type="hidden" name="amountf" value="10.00">
<input type="hidden" name="item_name" value="Test Item">
<input type="image" src="https://www.coinpayments.net/images/pub/buynow-grey.png" alt="Buy Now with CoinPayments.net">
Has anyone experienced the launch of coinpayment in mvc?
You can use this code in your controller
Create a method that a return string with this code:
Create other method with name PreparePOSTForm with this code:
next run your application in that method.
I hope i've helped.