How to send Order details & Check results Print

  • 0

Credit Card Processing Services Setup Guide

Requirements to Start Credit Card Processing Services

To begin offering credit card processing services, each client must fulfill the following requirements:

  1. Client ID: Each client must have an account with LFAIT.
  2. Identifier
  3. Secret
  4. Whitelist IP: The client's IP must be whitelisted to accept requests.

Sample Code & Integration

The default page can be downloaded from here. You can integrate the code within your web server or website.

Sample Output for POST Request

Below is a sample output for a POST request:

Array
(
    [identifier] => PRIVATE
    [secret] => PRIVATE
    [action] => AddOrder
    [clientid] => 1
    [pid] => 484
    [billingcycle] => free
    [paymentmethod] => banktransfer6
    [responsetype] => json
    [customfields] => YTo2OntpOjE0NDI7czo4OiJLaQ1O3M6NzoiMS4yLjMuNCI7fQ==
)

 

Sample Output for Successful Order

If the order is placed successfully, the response will be:

Order placed successfully!
Raw server response: {
    "result": "success",
    "orderid": 3061,
    "productids": "3363",
    "serviceids": "3363",
    "addonids": "",
    "domainids": "",
    "invoiceid": 0
}

 

At this stage, it means that we have received your order and we will process it. Once the order is processed, the outcome will be either:

  • Completed/Active
  • Canceled

Next Steps After Order Completion

If the order is completed, you or your client will receive an email containing atoken. You can verify the token using this page: https://lfait.com/validatelicense.php. The page supports POST requests, so you can use it as an API to confirm the activation of the license key or service ID. Based on this information, you will be able to release the funds to your sub-client.

 

 

Email Confirmation

Once the order has been processed with success you will get an email from us contain the following, where you can match the OrderID or ServiceID with your pending orders. 

 

 


Was this answer helpful?

« Back