Documentation

PayPalClient
in package

Table of Contents

client()  : mixed
Returns PayPal HTTP client instance with environment that has access credentials context. Use this instance to invoke PayPal APIs, provided the credentials have access.
environment()  : mixed
Set up and return PayPal PHP SDK environment with PayPal access credentials.

Methods

client()

Returns PayPal HTTP client instance with environment that has access credentials context. Use this instance to invoke PayPal APIs, provided the credentials have access.

public static client() : mixed
Return values
mixed

environment()

Set up and return PayPal PHP SDK environment with PayPal access credentials.

public static environment() : mixed

This sample uses SandboxEnvironment. In production, use LiveEnvironment.

Return values
mixed

Search results