There is a couple of things you should know to integrate with PayLane to make the whole thing easier and even more comfortable.
Use a test account
First of all, you should always use a test account. Every account created via the PayLane website or PayLane for Startups is a test account, so no worries here.
What’s important, no money will be ever charged, refunded or processed in any other way if you use a test account. You’re completely safe, even if you happen to make a mistake.
Start the PayLane Rest Client
Whenever you want to perform any operation regarding PayLane’s API, make sure you have included and started the PayLane Rest Client (remember to provide your user name and password). It’s very simple and can be done as follows:
$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")
How to trigger error transactions
It’s actually very simple – just enter the desired error code as the transaction amount.
You can find all error codes in the error codes section.
Deprecated API documentation
For those of you who have integrated with PayLane systems using the old SOAP API, we have the old documentation files: