Thursday February 23 , 2012
Font Size
   

How to Accept & store Credit Cards in Virtumart without a processor - No need of Paypal pro! (manual processing)

Paypal Pro suck the money from your online transactions. $30 monthly fee, plus a fee for each transaction!

Below are a few easy steps, so you can process the credit card manually:

1- go to  VirtueMart Admin   > Configuration > Security > Security Settings

1. Set up your site SECUREURL with the https url required by your SSL security certificate, either your own site certificate or a shared certificate provided by your webhost.

2. Select "Shop areas which must use https" - usually a minimum of account & checkout

3. Select "Generally prevent https connections?" - this does not seem to work on all servers, but it is no problem if left on.

4. Select "Encryption Function" which would usually be AES_ENCRYPT.

5. Enter/edit "Encryption Key" - this will have been pre-populated for use.

6. Select "Store Credit Card Information?"

Then save configuration.

Go to Store/List Payment Methods

1. On Payment Method List page select New to create a blank Payment Method Form

2. Enter a "Payment Method Name:" - this will appear in the checkout as the payment method.

3. Enter a suitable "Code:" so that you will recognise this payment method in the Payment Method List.

4. Select ps_payment as the "Payment class name".

5. For "Payment method type:" select Credit Card.

6. Select the "Accepted Credit Card Types" - these will be the types of card your card processing service can accept.

Save the page. This now appears in the Payment Method List.

Now make a test purchase and entering a valid test card number. There are test numbers listed on http://www.infomerchant.net/creditcardprocessing/credit_card_test_numbers.html

The last 4 digits of the card number is shown on the order email sent to the store admin, the first part of the number, less those last digits is shown on the order details page in the website backend.

Note that you will need to inform your credit card merchant service or bank that you are accepting on-line payments - check your contract.

 

Configuring MX Records to Use Gmail insteade of Hosting Email

Sometimes people switch their hosting account and so their hosted email through Gmail wold stop working.

Here is instructions in order to change your MX records of your Godaddy, or any other hosting company in order to use Gmail as your mail client.

You should first go to your hosting account, sign in and then go to the MX record section. If you are using Godaddy, go to your DNS manager and scroll down, you will see the MX Records. Delete all the records and add the below records. That's it!

Priority Mail Server
1 ASPMX.L.GOOGLE.COM.
5 ALT1.ASPMX.L.GOOGLE.COM.

5

ALT2.ASPMX.L.GOOGLE.COM.

10

ASPMX2.GOOGLEMAIL.COM.

10

ASPMX3.GOOGLEMAIL.COM.


   

Add Price discount if buy multiple products, depending on what's in the shopping cart.

In order to add reduced prices for quantity purchase you should go to the Product List, check the box to left of product, or click on the product and then select List Prices above. Here you can can add a new prices based on quantity purchased.

   

Transfer from Localhost to Remote Host, Fix the Error for Virtumart

Transferring the Virtumart to a new server could cause some errors. There is easy fix.

Find the file virtuemart.cfb.php  in the folder Administrator/components/com_virtuemart
all you have to do is to change the following lines:

// these path and url definitions here are based on the Joomla! Configuration
define( 'URL', 'http://localhost/yourDevelopmentSiteName/' );
define( 'SECUREURL', 'http://localhost/yourDevelopmentSiteName/' );



Change the above line to


// these path and url definitions here are based on the Joomla! Configuration
define( 'URL', 'http://www.yourLiveSiteURL.com/' );
define( 'SECUREURL', 'http://www.yourLiveSiteURL.com/' );

   

Facebook Like & Tweet Button Code for Flypage Virtumart

For creating a facebook "Like Button" on flypage for Virtumart
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode("http://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]); ?>&layout=standard&show_faces=true&width=450&action=like&font=tahoma&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:65px"></iframe>

For Twitter
<a href="http://twitter.com/home?status=ADDRESS HERE /index.php?page=shop.product_details&flypage=1.tpl&product_id=<?php echo $product_id ?>&category_id=<?php echo $category_id ?>&option=com_virtuemart&Itemid=1">Tweet</a>


   

Page 1 of 3