Payment Gateways


SagePay is an online payment gateway allows businesses to accept debit and credit card payments securely from customers. Sage Pay is Europe’s leading independent payment service provider (PSP) and is one of the most trusted payment brands. NetCash is now known as SagePay.

  • PayPlans integration with SagePay support Fixed, Recurring, Recurring+1 Trial and Recurring+ 2 Trial type of plans.

  • This app doesn't support free trials. Minimum amount should be some positive amount.

  • This app doesn’t support refund request.

  • This app supports 25+ currencies. By default, the Terminal will select GBP as the transaction currency. If you have multi-currency setup on your Sage Pay account you can use this option to choose which currency is selected by default.

Steps to configure SagePay app

Step 1 : Install and SagePay App from PayPlans AppStore and create its app instance.

Step 2 : SagePay app specific parameters in Parameters section are described as follows-

  • Vendor Name : Enter your Sage Pay account Vendor Name.

  • SandBox : If you are using Sage Pay Sandbox account for testing purpose, then set it to Yes. If you are using Live account then set to No.

  • Cancel Recurring Order : Provide option in front-end for users as well as in backend for admin to cancel the Recurring plans.

Read Setup Instructions carefully before saving app instance.

configure the Sage Pay

Step 3 : Click on Save or Save & Close button to save app instance.

Step 4 : When user subscribe a plans and then user will be able to select SagePay payment method on Invoice Confirm page.

After clicking on Checkout button user will go to payment screen to fill credit card / debit card and personal details. After that, filled information will be posted to the Sage Pay site after you click on Buy button. Whole process will take place at their end. All details are stored in SagePay server, not at PayPlans or admin server and according to process invoice status will be marked automatically.

Fill Credit Card details on Payment Details page

Fill Personal details on Payment Details page

Related KB's :

General Issues in SagePay

ISSUE 1 : Credit Card only has Expiry date. If no value filled for Start date in Credit Card Details it produces this error -
3008 : Vendor or Vendorname formate is invalid

SOLUTION Start Date field is optional, so it can be removed. To remove this field refer below mentioned steps.
1. Go to root/plugins/payplans/sagepay/sagepay/app/sagepay/tmpl/form.php, near line no. 51 and remove below code :

    <div class="control-group">
                <div class="control-label"><?php echo XiText::_('COM_PAYPLANS_PAYMENT_APP_SAGEPAY_START_DATE')?></div>
                  <div class="controls">
                       <select name="StartDateMonth" id="startdatemonth" style="width:93px;">
                        <option value="01">01</option>
                        <option value="02">02</option>
                        <option value="03">03</option>
                        <option value="04">04</option>
                        <option value="05">05</option>
                        <option value="06">06</option>
                        <option value="07">07</option>
                        <option value="08">08</option>
                        <option value="09">09</option>
                        <option value="10">10</option>
                        <option value="11">11</option>
                        <option value="12">12</option>
                        /*** the current year ***/
                        $start_year = date('y');
                        $end_year = $start_year + 20;

                        /*** range of years ***/
                        $rangeOfYear = range($start_year, $end_year);

                        /*** create the select ***/
                        $select = '<select name="StartDateYear" style="width:93px;">';
                        foreach( $rangeOfYear as $year )
                            $select .= "<option value=".$year;
                            $select .= ">20$year</option>\n";
                        $select .= '</select>';

                        echo $select;
  1. Go to root/plugins/payplans/sagepay/sagepay/app/sagepay/sagepay.php, near line no. 104 and remove below code :
$params['StartDate']         = $data['StartDateMonth'].$data['StartDateYear'];

It seems that you are using free trial (from attached screen shot), SagePay doesn't support free trials. Minimum amount should be some positive amount.