2025-03-28 09:49:56 +08:00

27 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EShangPayTest
{
internal class Program
{
static void Main(string[] args)
{
//生成移动支付交易参数对象
libESPay.PayUtils.MobilePayConfig.PayMerchant payMerchant = new libESPay.PayUtils.MobilePayConfig.PayMerchant
{
MerchantAPPID = "",
MerchantCode = "105002958123202",
MerchantKey = "30819d300d06092a864886f70d010101050003818b003081870281810081e9e153ab16483299ec2a6694e7fc2381c5b330fa4362f7c30fa6efbf1b8600c2ed61a051dbd9e44833fe3ef836863f0851c21a5c09d5b73aead2dd2fc2012dc3561c60d57a279f22e66ea0c5d1658ff50debd23ee4dd262aef6fb395a8bb192a8638c836e5cb636579aa904655c21c41558e3d304af62fafea6ebea49f58b3020111",
MerchantPosCode = "049541493",
MerchantShopCode = "330000000",
MobilePayOperatorURL = "https://ibsbjstar.ccb.com.cn",
MobilePayProxyURL = ""
};
libESPay.ESPayService.ESTPayQuery(libESPay.PayUtils.MobilePayOperators.ccbpay, payMerchant, "330340131002415120220726120546", "330340131002415120220726120546", "86.00", 1, false);
}
}
}