From 848cca2f096e985a1663f7c0bec1d7de359e0ff7 Mon Sep 17 00:00:00 2001 From: Alexa Snyder Date: Thu, 3 Oct 2024 08:24:45 -0500 Subject: [PATCH] include BaseUrl in config example since it's required --- OrderCloud.Integrations.Payment.PayPal/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/OrderCloud.Integrations.Payment.PayPal/README.md b/OrderCloud.Integrations.Payment.PayPal/README.md index 6198760..ffa76ef 100644 --- a/OrderCloud.Integrations.Payment.PayPal/README.md +++ b/OrderCloud.Integrations.Payment.PayPal/README.md @@ -37,13 +37,14 @@ This nuget library can be installed in the context of a .NET server-side project ## Authentication and Injection -You will need a ClientID and Client Secret configured to authneticate to the PayPal API. Click [here](https://developer.paypal.com/api/rest/) to learn more about PayPal's authentication. +You will need a ClientID and Client Secret configured to authneticate to the PayPal API, along with the URL for the PayPal environment you are targeting. Click [here](https://developer.paypal.com/api/rest/) to learn more about PayPal's authentication. ```c# var paypalService = new PayPalService(new PayPalConfig() { - ClientID = "AaChL7MjH..." - SecretKey = "ELVYgPZr6..." + ClientID = "AaChL7MjH...", + SecretKey = "ELVYgPZr6...", + BaseUrl = "https://api-m.sandbox.paypal.com" }); ```