PayPal is one of the most popular online payment methods in the world. Known for its e-wallet, it also allows to accept card payments or perform recurring transactions. Quite often PayPal is chosen as the first payment method, but it also serves great as an additional payment channel.
Initiate the Rest Client
Remember to ensure that the PayLane Rest Client was properly initiated (with your user name and password) before you start calling API methods regarding PayPal transactions.
$client = new PayLaneRestClient('your_login', 'your_password');
client = PayLane::Client.new('your_login', 'your_password')
from client import PayLaneRestClient
client = PayLaneRestClient("your_login", "your_password")
PayLaneApi api = PayLaneClientFactory.createClassicClient(context, "your_login", "your_password");