Skip to content

Commit

Permalink
調整通訊加密協定改為TLS1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
AllennChang committed Mar 22, 2018
1 parent 7580bc3 commit c4db1a5
Show file tree
Hide file tree
Showing 39 changed files with 13 additions and 2 deletions.
Binary file modified ECPay.Payment.Integration.dll
Binary file not shown.
Binary file not shown.
Binary file modified Sample Code/5.1.訂單產生/5.1.訂單產生/AioCheckOut.suo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ protected void Page_Load(object sender, EventArgs e)
{
/* 服務參數 */
oPayment.ServiceMethod = HttpMethod.HttpPOST;//介接服務時,呼叫 API 的方法
oPayment.ServiceURL = "https://payment-stage.ecpay.com.tw/Cashier/AioCheckOut/V5";//要呼叫介接服務的網址
oPayment.ServiceURL = "https://payment-stage.ecpay.com.tw/Cashier/AioCheckOut/V2";//要呼叫介接服務的網址
oPayment.HashKey = "5294y06JbISpM5x9";//ECPay提供的Hash Key
oPayment.HashIV = "v77hoKGq4kWxNNIS";//ECPay提供的Hash IV
oPayment.MerchantID = "2000132";//ECPay提供的特店編號

/* 基本參數 */
oPayment.Send.ReturnURL = "http://example.com";//付款完成通知回傳的網址
oPayment.Send.ClientBackURL = "http://www.ecpay.com.tw/";//瀏覽器端返回的廠商網址
oPayment.Send.OrderResultURL = "";//瀏覽器端回傳付款結果網址
oPayment.Send.OrderResultURL = "http://localhost:52413/CheckOutFeedback.aspx";//瀏覽器端回傳付款結果網址
oPayment.Send.MerchantTradeNo = "ECPay" + new Random().Next(0, 99999).ToString();//廠商的交易編號
oPayment.Send.MerchantTradeDate = DateTime.Now;//廠商的交易時間
oPayment.Send.TotalAmount = Decimal.Parse("3280");//交易總金額
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,8 @@ C:\Users\sarah.shih.ECPAY\Desktop\11.全方位金流SDK_Ecpay\11.綠界-全方
C:\Users\sarah.shih.ECPAY\Desktop\11.全方位金流SDK_Ecpay\11.綠界-全方位金流SDK\5.1.訂單產生\5.1.訂單產生\AioCheckOut\obj\Debug\AioCheckOut.csprojResolveAssemblyReference.cache
C:\Users\sarah.shih.ECPAY\Desktop\11.全方位金流SDK_Ecpay\11.綠界-全方位金流SDK\5.1.訂單產生\5.1.訂單產生\AioCheckOut\obj\Debug\AioCheckOut.dll
C:\Users\sarah.shih.ECPAY\Desktop\11.全方位金流SDK_Ecpay\11.綠界-全方位金流SDK\5.1.訂單產生\5.1.訂單產生\AioCheckOut\obj\Debug\AioCheckOut.pdb
D:\ECgithub\ECpayAIO_Net\Sample Code\5.1.訂單產生\5.1.訂單產生\AioCheckOut\bin\AioCheckOut.dll
D:\ECgithub\ECpayAIO_Net\Sample Code\5.1.訂單產生\5.1.訂單產生\AioCheckOut\bin\AioCheckOut.pdb
D:\ECgithub\ECpayAIO_Net\Sample Code\5.1.訂單產生\5.1.訂單產生\AioCheckOut\obj\Debug\AioCheckOut.csprojResolveAssemblyReference.cache
D:\ECgithub\ECpayAIO_Net\Sample Code\5.1.訂單產生\5.1.訂單產生\AioCheckOut\obj\Debug\AioCheckOut.dll
D:\ECgithub\ECpayAIO_Net\Sample Code\5.1.訂單產生\5.1.訂單產生\AioCheckOut\obj\Debug\AioCheckOut.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ protected void Page_Load(object sender, EventArgs e)
Hashtable htFeedback = null;
try
{

using (AllInOne oPayment = new AllInOne())
{
oPayment.HashKey = "5294y06JbISpM5x9";//ECPay 提供的 HashKey
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ C:\Users\sarah.shih.ECPAY\Desktop\11.全方位金流SDK_Ecpay\11.全方位金流
C:\Users\sarah.shih.ECPAY\Desktop\11.全方位金流SDK_Ecpay\11.全方位金流SDK\5.2.1.一般付款結果通知\5.2.1.一般付款結果通知\CheckOutFeedback\obj\Debug\CheckOutFeedback.csprojResolveAssemblyReference.cache
C:\Users\sarah.shih.ECPAY\Desktop\11.全方位金流SDK_Ecpay\11.全方位金流SDK\5.2.1.一般付款結果通知\5.2.1.一般付款結果通知\CheckOutFeedback\obj\Debug\CheckOutFeedback.dll
C:\Users\sarah.shih.ECPAY\Desktop\11.全方位金流SDK_Ecpay\11.全方位金流SDK\5.2.1.一般付款結果通知\5.2.1.一般付款結果通知\CheckOutFeedback\obj\Debug\CheckOutFeedback.pdb
D:\ECgithub\ECpayAIO_Net\Sample Code\5.2.1.一般付款結果通知\5.2.1.一般付款結果通知\CheckOutFeedback\bin\CheckOutFeedback.dll
D:\ECgithub\ECpayAIO_Net\Sample Code\5.2.1.一般付款結果通知\5.2.1.一般付款結果通知\CheckOutFeedback\bin\CheckOutFeedback.pdb
D:\ECgithub\ECpayAIO_Net\Sample Code\5.2.1.一般付款結果通知\5.2.1.一般付款結果通知\CheckOutFeedback\obj\Debug\CheckOutFeedback.csprojResolveAssemblyReference.cache
D:\ECgithub\ECpayAIO_Net\Sample Code\5.2.1.一般付款結果通知\5.2.1.一般付款結果通知\CheckOutFeedback\obj\Debug\CheckOutFeedback.dll
D:\ECgithub\ECpayAIO_Net\Sample Code\5.2.1.一般付款結果通知\5.2.1.一般付款結果通知\CheckOutFeedback\obj\Debug\CheckOutFeedback.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit c4db1a5

Please sign in to comment.