Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include BaseUrl in config example since it's required #128

Merged
merged 2 commits into from
Oct 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading