文件操作 - Payment.aspx.cs
返回文件管理
返回主菜单
删除本文件
文件: E:\HostingSpaces\kimblycr\alex.kimbly.in\wwwroot\Payment.aspx.cs
编辑文件内容
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using Razorpay.Api; using System.Collections.Generic; public partial class Payment : System.Web.UI.Page { public string orderId; protected void Page_Load(object sender, EventArgs e) { Dictionary<string, object> input = new Dictionary<string, object>(); input.Add("amount", 12000); // this amount should be same as transaction amount input.Add("currency", "INR"); input.Add("receipt", "12121"); input.Add("payment_capture", 1); string key = "rzp_test_AbT78gpHwL3lmX"; string secret = "djW1j5IXYwxAy86syyYVAiCL"; RazorpayClient client = new RazorpayClient(key, secret); Razorpay.Api.Order order = client.Order.Create(input); orderId = order["id"].ToString(); } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件