Hello team,
In SmartStore.NET 3.x, how do I post form values to a payment gateway URL. The sample form below illustrates how the field values are setup and posted to https://paymentgateway/pay (Payment Gateway Url) . Kindly explain the steps that needs to be taken, and pointing out classes, methods etc. that will be needed to achieve this.
<formname="form1"action="https://paymentgateway/pay"method="post">
<inputname="product_id"type="hidden"value="XX"/>
<inputname="pay_item_id"type="hidden"value="XX"/>
<inputname="amount"type="hidden"value="XXXXXXX"/>
<inputname="currency"type="hidden"value="566"/>
<inputname="site_redirect_url"type="hidden"value="http://abc.com /getresponse”/>
<inputname="txn_ref"type="hidden"value=" XXXAFTXXX”"/>
<inputname="hash"type="hidden"value="BB292DF9268F05CB9CBBC5E0C13CC1B13ACA34DC"/>
</form>
I also need to add more information (payment reference no, transaction reference no, etc.) to Complete.cshtml and Confirm.cshtml page before and after a transaction (for success or failed transaction) completion, without physically modifying the page, because of updates to SmartStore.NET in the future. Do I create my own Confirm.cshtml and Complete.cshtml in my custom plugin? how do I go about it. Thanks in advance for your assistance.
Thank you in advance for your assistance.