Visuex PayPal addon v.1.1.0 for MyClientBase has been Released! PDF Print E-mail
Written by Michael Tunnell   
Wednesday, 11 January 2012 14:31

 

We, here at Visuex.com, are proud to announce the immediate availability of the Visuex PayPal addon for the MyClientBase invoicing/billing platform. Click the "Read more..." button to read the Installation Instructions and Usage Instructions.

 

Price: FREE

Download: visuex_paypal.zip (version: 1.1.0 - updated: 01/11/2012)

 


 

How to Install the Visuex PayPal addon:

1. Extract the zip file.

 

2. Upload the addon files to your website keeping the folder structure of:

     - /assets/templates/addons/visuex_paypal

     - there are two php files (one in images folder) and 31 images to choose for your invoice (inside the images folder)

     - be sure to overwrite the file mcb_invoice_helper.php located in the folder ~/application/helpers.

 

3. Open the template file that you wish to add the addon to, this can be done one of two ways.

     - a. Login to your MCB Dashboard and go to "Invoice Templates" in Control Center menu then click the Pencil to edit the template.

     - b. Navigate to application/modules_core/invoices/views/invoice_templates and edit the php template file.

 

4. Add the code below wherever you want it to be for example: add it right above "</body>" in default.php

 


Add the code below to your template file: located in the ~/application/modules_core/invoices/views/invoice_templates folder

<?php include_once($this->config->item("base_url")."assets/templates/addons/visuex_paypal/visuex_paypal.php?pp_email=".urlencode(merchant_account_id())."&currency_code=".merchant_currency_code()."&balance=".$invoice->invoice_balance."&invnum=".invoice_id($invoice)."&client_name=".urlencode(invoice_to_client_name($invoice))."&lang_invoice=".$this->lang->line('invoice')."&client_addresso=".urlencode(invoice_to_address($invoice))."&client_addresst=".urlencode(invoice_to_address_2($invoice))."&client_city=".invoice_to_city($invoice)."&client_state=".invoice_to_state($invoice)."&client_zip=".invoice_to_zip($invoice));}} ?>

 


 

How to use the Visuex PayPal addon:

You need to activate the PayPal system inside your MCB Client Center to use this addon.
Here's how = http://visuex.com/blog/23-myclientbase/44-how-to-activate-paypal-payments-inside...

There are 6 paramters that you can change to your preference.
Open the file = /assets/templates/addons/visuex_paypal/visuex_paypal.php to set these options.

  • image_filename = "horizontal_solution_pp.gif";
     - Filename of the desired image. (include the image extension such as .gif, .jpg, .png, etc.)
     - to view and get the filename of all PayPal button images - /assets/templates/addons/visuex_paypal/images/index.php
  • customertopaypal = true;
     - Sends Customer data, such as name and address, to the PayPal payment system.
     - Default = true (change to false to disable)
  • button_alignment = "right";
     - Alignment of the PayPal button.
     - Options = left, center, right.
  • logo_url
     - URL to your company logo, PayPal's Maximum Image Size = 150 x 90 (in pixels)
     - Default = empty (disabled)
  • paypal_page_style
    Defines the page style of the PayPal checkout page. (not MCB related)
     - Default = empty (let PayPal set it)
     - Options = paypal (standard), primary (your style you set as primary in PayPal) or page_style_name (use the custom payment page style from your account profile that has the specified name)
  • language_page_code
     - Language code that PayPal uses to set the language of the Checkout page.
     - Default = US

 

What do you think of this MCB addon? Do you have any requests for this addon? Have you found a bug?

Let us know in the comments below: (no account needed)

 

 

blog comments powered by Disqus
Last Updated on Wednesday, 11 January 2012 15:37
 

Blog Categories

Blog Archive

Powered by mod LCA