Skip to content

Commit

Permalink
include BaseUrl in config example since it's required
Browse files Browse the repository at this point in the history
  • Loading branch information
amrarick26 committed Oct 3, 2024
1 parent c716da3 commit 848cca2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions OrderCloud.Integrations.Payment.PayPal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
});
```

Expand Down

0 comments on commit 848cca2

Please sign in to comment.