Setting up Authorize.net in VirtueMart

Authorize.net

Starting with VirtueMart 2.0.2, you can use Authorize.net as your payment gateway option. This allows you to use their popular service for processing credit card transactions.

You must install VirtueMart, and have an Authorize.net account before attempting to follow this tutorial.

How to Setup Authorize.net in VirtueMart

  1. Login to the Joomla dashboard.
  2. In the navigation menu, move your mouse over VirtueMart(1) and click Payment Methods(2).
    VM Authorize.net

  3. Click the New button in the top menu.
    New button in VirtueMart

  4. You will see the Payment Method page, it will look like this:
    VM options in Authorize

    Fill in the information as needed, below is a description of the fields.

    OptionDescription
    Payment NameGive this payment option a name such as: Authorize.net
    Sef AliasYou can enter a “Search Engine Friendly” word here, which will be included in the URL. Learn more about SEF URLs in VirtueMart.
    PublishedChoose Yes to make this payment option available.
    Payment DescriptionProvide more details about this payment method. Shoppers will see this on the checkout page.
    Payment MethodYou must choose the VM Payment – Authorize.net option.
    Shopper GroupChoose which groups can use this payment option, or leave blank to make it Available for all.
    List orderYou can arrange what order the payment options are listed in here. For example, lower numbers will be displayed higher on the list.
  5. Click the Save button when you are done. You will see a Payment Method successfully saved message.
  6. Click the Configuration tab.
    Configuring Auth in VM

    You will then see the Configuration page, it will look like this:

    Authorize config setup

    Fill in the fields as needed, below is a description of what to enter provided by VirtueMart.

    OptionDescription
    Authorize.net hostnameLeave the default value if you are not sure.
    The merchant’s unique API Login IDThe merchant API Login ID is provided in the Merchant Interface and must be stored securely.
    Transaction KeyEnter the merchant’s unique Transaction Key
    Secure PostImportant: You must have an SSL installed and configured correctly for this to work.
    Use SandboxChoosing Yes will put your Authorize.net payment option in testing mode.
    Authorize.net Sandbox hostnameEnter your Authorize.net Sandbox hostname here to “Put your payment method into TEST MODE.
    Sandbox Login IDEnter your Sandbox Login ID here to “Put your payment method into TEST MODE.
    Sandbox Transaction KeyEnter your Sandbox Transaction key to “Put your payment method into TEST MODE.
    Transaction TypesAuthorization and Capture: is the most common type of credit card transaction. The amount is sent for authorization, and if approved, is automatically submitted for settlement. Authorization Only: the transaction will not be sent for settlement until the credit card transaction type Prior Authorization and Capture is submitted, or the transaction is submitted for capture manually in the Merchant Interface.
    Credit CardsStart typing in the box for a list of credit cards to appear. Click each credit card name to select it, then repeat for multiple cards. Leave blank to allow Authorize.net to be used by all credit cards.
    Order Status for Approved PaymentsSelect the order status to which the actual order is set, if the Authorize.Net IPN was successful. If using download selling options: select the status which enables the download (then the customer is instantly notified about the download via e-mail).
    Transaction declinedChoose what you want the status of the transaction to be if it is declined.
    Transaction held for reviewChoose what you want the status of the transaction to be if it is held for review.
    LogosIf you have uploaded a small image to display on payment methods, select it here.
    CVV imagesOPTIONAL: CVV is Credit Card Verification Value, the 3-digit number usually on the back of your card. Select an image you have uploaded for the CVV Tooltip Help that shows the 3-digit number circled on the back of a credit card.
    CountriesSelect which countries the Authorize.net payment option is available for, or leave blank to be or all countries.
    Minimum AmountMinimum Order Amount to offer this Payment.
    Maximum AmountMaximum Order Amount to offer this Payment.
    Discount or Fee per TransactionDiscount or Fee to apply for this payment per transaction.
    Discount or Fee per Total AmountDiscount or Fee to apply for this payment per total amount.
    TaxTax to apply to the fee.
    Debug?If set to yes, payment transaction will be logged in the log folder.
    LogIf set to Yes, the Debug information will be recorded in the /logs folder.
  7. Click Save to complete the Authorize.net setup in VirtueMart.

Congratulations, now you know how to add Authorize.net as a payment gateway in VirtueMart! Now when customers checkout through your store, they will have the option of using Authorize.net to process their credit card payment.

JB
John-Paul Briones Content Writer II

John-Paul is an Electronics Engineer that spent most of his career in IT. He has been a Technical Writer for InMotion since 2013.

More Articles by John-Paul

6 thoughts on “Setting up Authorize.net in VirtueMart

  1. Do you guys know how to fix an Authorize.Net Error E00003 – Data at the root level is invalid? I can’t figure out where the file generates to fix this error. Error response after submitting payment for any part.

    Joomla 3.9.16 – VM 3.610

    Thanks!

    Ryan

  2. Hello Team,

    How can i store card details on my website thorough authorize.net in virtuemart ?

    can you please help me.

     

    Thanks,

    Allen Justin

    1. If you want to store credit card information, first, you will have to ensure your server meets Payment Card Industry standards also known as PCI Compliance. You would have to contact Authorize.net about interacting with their servers, and most likely this will require a custom-coded solution.
      Thank you,
      John-Paul

    1. When looking at their documentation , it appears that you simply need to have the image saved somewhere online and then be able to reference it form a URL. If you need further information you will need to contact their support/developer for additional assistance with the Joomla plugin.

Was this article helpful? Join the conversation!