登入你的 PayPal 商業帳戶 https://www.paypal.com/ > 商業工具 > API 登入資料
確保選取 "Live" (代表真實環境,而非測試環境) , 然後按 <Create App>.
The App Name 輸入 "iEvent"
複製 Client ID 和 Secret Key 1 (不要截圖),然後進行以下其中一項:
電郵給 iEvent technical team (team@nasthon.com), 或:
於網站後台 > 設定 > 設定輸入
Login to PayPal Business account https://www.paypal.com/ > Business Tools > API Credentials
Make sure it selected "Live", and click <Create App>.
The App Name input "iEvent"
Copy the Client ID and Secret Key 1 (Do not screencap) and then either:
Email to iEvent technical team (team@nasthon.com) or;
Update it in Admin Panel > Setting > Setting
取得 Client ID and Secret Key 1 後,登入後台 > 左選單 > 設定 > 設定
根據以下指示設定:
PayPal Mode = Production
PayPal API Type = REST API (Client ID + Secret)
PayPal REST API Client ID (Production = 先前取得的 Client ID
PayPal REST API Secret (Production = 先前取得的 Secret Key 1
注意!
把 PayPal Mode 設定為 Production後,會連接至真實的付款環境,報名繳費會產生真的交易。如果想測試,可以把PayPal Mode 設定為 Sandbox (參閱 02. 使用 Paypal 測試帳戶結帳)。