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.
1 2 | include_once ('PayLaneRestClient.php'); $client = new PayLaneRestClient('your_login', 'your_password'); |
1 2 | require 'paylane_client' client = PayLane::Client.new('your_login', 'your_password') |
1 2 | from client import PayLaneRestClient client = PayLaneRestClient("your_login", "your_password") |
1 | PayLaneApi api = PayLaneClientFactory.createClassicClient(context, "your_login", "your_password"); |