PAY Plantation, LLC. Express Payment Gateway Documentation


If payer wants to fund payments using PAY Plantation, LLC., set payer to PAY Plantation, LLC..


Specify a payment amount and the currency.


It’s a Transaction resource where amount object has to set.


Set the urls where buyer should redirect after transaction is completed or cancelled.


It’s a payment resource where all Payer, Amount, RedirectUrls and Credentials of merchant (Client ID and Client Secret) have to set. After initialized into payment object, need to call create method. It will generate a redirect URL. Users have to redirect into this URL to complete the transaction.

Installation Instruction :

Click download for the package download

Now, go to php-sdk/src/PayPlantation/Rest/Connection.php, then change BASE_URL value to your domain name
(i.e: If the domain is - '' then, define( 'BASE_URL' , '' ) )

Example :
    require 'vendor/autoload.php';

    use PayPlantation\Api\Payer;
    use PayPlantation\Api\Amount;
    use PayPlantation\Api\Transaction;
    use PayPlantation\Api\RedirectUrls;
    use PayPlantation\Api\Payment;

    //Payer Object
    $payer = new Payer();

    //Amount Object
    $amountIns = new Amount();
    $amountIns->setTotal(20)->setCurrency('USD'); //must give a valid currency code and must exist in merchant wallet list

    //Transaction Object
    $trans = new Transaction();

    //RedirectUrls Object
    $urls = new RedirectUrls();
    $urls->setSuccessUrl('') //success url - the merchant domain page,
    to redirect after successful payment, see sample example-success.php file in sdk root,
    example -
    ->setCancelUrl(''); //cancel url - the merchant domain page, to redirect after
    cancellation of payment, example -

    //Payment Object
    $payment = new Payment();
    $payment->setCredentials([ //client id & client secret, see merchants->setting(gear icon)
    'client_id' => 'place your client id here', //must provide correct client id of an express merchant
    'client_secret' => 'place your client secret here' //must provide correct client secret of an express merchant

    try {
     $payment->create(); //create payment
     header("Location: ".$payment->getApprovedUrl()); //checkout url
    } catch (Exception $ex) {
     print $ex;

Optional Instructions

If you don't see changes after configuring and extracting SDK, go to your SDK root and run the commands below:-

composer clear-cache

composer install

composer dump-autoload

Got questions, don't hesitate to contact.

PAY Plantation, LLC..

PAY Plantation + 1 (888) 964-0444
PAY Plantation, LLC., is an innovative payment facilitator (PayFac), a payment service provider (PSP). Your all-in-one payment gateway, that allows business owners to sign-up for merchant account to accept payment, sell products and services globally using our platform Rest API plugins, payment link, and payment form. Safer way to send money, receive money from friends and family.
PAY Plantation

Merchant | Fundraiser | Send | Features | Fees | Plugins | Terms | AML | Policy | Privacy Notice | Merchant Agreement | Wallet Agreement | APA Agreement | Website Agreement | Developer | USPTO Trademark | Contact

Copyright 2022 - 2024 PAY Plantation, LLC. | PAY Plantation, LTD. | All Rights Reserved.

Payment Gateway | Payment Facilitator (PayFac) | Mobile Wallet provider | Digital Payment Solution for Merchants | Electronic check processing | ACH payment processing | Credit cards payment processing | Debit cards payment processing | Merchant account | Merchant services | QR code payment processing | Payment Links provider | Donation campaign solution provider | Debit card | VISA | MASTERCARD | America Express | Discover

PAY Plantation Android App
PAY Plantation iOS App