The mgiPaymentInfoAN Tag

Tag Behavior

The mgiPaymentInfoAN tag creates a table of payment choices including credit cards, checks, and purchase orders. The mgiPaymentInfoAN tag can be used in conjunction with the mgiConfirmOrderAN tag or with a custom shopping solution using AuthorizeNet.


Tag Syntax

The mgiPaymentInfoAN tag has no required parameters and 8 optional parameters, but at least one of the 8 optional parameters must be chosen. The tag form is:

<mgiPaymentInfoAN visa="Yes/No" mastercard="Yes/No" 
amex="Yes/No" discoverNovus="Yes/No" carteBlanc="Yes/No" 
dinersClub="Yes/No" purchaseOrder="Yes/No" check="Yes/No">

Required Parameters:

  • None. Note: At least one optional parameter must be chosen.

Optional Parameters:

  • visa="Yes" or "No" where "Yes" includes this payment option in the credit card menu and "No" does not include this payment option in the credit card menu. The default is "Yes".
  • mastercard="Yes" or "No" where "Yes" includes this payment option in the credit card menu and "No" does not include this payment option in the credit card menu. The default is "Yes".
  • amex="Yes" or "No" where "Yes" includes this payment option in the credit card menu and "No" does not include this payment option in the credit card menu. The default is "Yes".
  • discoverNovus="Yes" or "No" where "Yes" includes this payment option in the credit card menu and "No" does not include this payment option in the credit card menu. The default is "Yes".
  • carteBlanc="Yes" or "No" where "Yes" includes this payment option in the credit card menu and "No" does not include this payment option in the credit card menu. The default is "Yes".
  • dinersClub="Yes" or "No" where "Yes" includes this payment option in the credit card menu and "No" does not include this payment option in the credit card menu. The default is "Yes".
  • purchaseOrder="Yes" or "No" where "Yes" includes this as a payment option and "No" does not include this as a payment option. The default is "Yes".
  • check="Yes" or "No" where "Yes" includes this as a payment option and "No" does not include this as a payment option. The default is "Yes".

Form Field Names: At least one payment method, and all fields under that payment method are required when processed by the mgiConfirmOrder tag.

  • shoppingBasketPaymentMethod - The payment method radio buttons.
  • shoppingBasketCreditCardType - The "Credit Card Type" select.
  • x_Card_Num - The "Credit Card Number" text field.
  • shoppingBasketCreditCardMonth - The "Expiration Month" select.
  • shoppingBasketCreditCardYear - The "Expiration Year" text field.
  • shoppingBasketPurchaseOrderNumber - The "Purchase Order Number" text field.
  • shoppingBasketPurchaseOrderCompanyNameOrNumber - The "Company Name/Number" text field.


Example Usage and Output

<mgiPaymentInfoAN visa="Yes" mastercard="Yes" 
amex="Yes" discoverNovus="Yes" carteBlanc="No" 
dinersClub="No" purchaseOrder="Yes" check="Yes">

The default values of the mgiPaymentInfoAN tag will display with the following format.


Suggested Usage

  • Shopping Basket


[Return to the Referencing MGI Menu]


[User Guide Main Menu] [Understanding MGI Menu] [Using MGI Menu] [Referencing MGI Menu]