PayPal credentials#
คุณสามารถใช้ credentials นี้เพื่อยืนยันตัวตนกับ node ต่อไปนี้ได้:
Prerequisites#
สร้าง PayPal developer account
Supported authentication methods#
- API client and secret
Related resources#
ดูข้อมูลเพิ่มเติมเกี่ยวกับบริการนี้ได้ที่ Paypal's API documentation
Using API client and secret#
สำหรับการตั้งค่า credentials นี้ คุณจะต้องมี:
- Client ID: สร้างขึ้นเมื่อคุณสร้าง app
- Secret: สร้างขึ้นเมื่อคุณสร้าง app
- Environment: เลือก Live หรือ Sandbox
หากต้องการสร้าง Client ID และ Secret ให้ล็อกอินเข้าสู่ Paypal developer dashboard ของคุณ เลือก Apps & Credentials > Rest API apps > Create app ดูข้อมูลเพิ่มเติมที่ Get client ID and client secret