SGS ERRORS



Why do customers keep getting SGS errors for orders in Miva Merchant?
You need to contact either Miva or your web hosting company to obatin an updated LinkPoint module that will fix 2 different issues.
SGS-002301: Charge total must be the sum of subtotal, tax, vallue added tax, and shipping.
SGS-005003: The order already exists in the database.

Once the module has been updated you will notice the order number in the LinkPoint Central reports will be changed to a 28 digit number.
The Miva order number will still be recorded under the "userid" field.


Why do my customers sometimes get SGS-005000: The server encountered a database error in Miva Merchant?
Make sure none of the product descriptions are more than 100 characters. If you have a text box for customers to type in information you need to limit it to 100 characters.


Why do I get the error "Unable to authorize payment" in Miva Merchant when I try to do a test transaction?
This message is normal when you enter a test credit card and also have Miva Merchant set in test mode. Once you are done testing make sure you uncheck the test mode option in Miva Merchant.


SGS-000001: D:Declined:X:
This is not an error. The transaction was actually declined by the issuing credit card bank. You will also receive this message when using a test credit card.


SGS-000002: R:Referral (call voice center)
This is not an error. The transaction was actually declined by the issuing credit card bank. The merchant needs to call for a voice authorization and then manually enter the transaction. Otherwise, the customer will need to contact their credit card issuing bank to have them allow the transaction and submit it again.


SGS-020005: Error (Merchant config file is missing, empty or cannot be read).
Normally you will receive this error when you are trying to use your live account with the staging server. In order to use the staging server you must first setup a separate test account on the following web site:
https://www.linkpoint.com/support/sup_teststore.asp

Also make sure you entered the correct store number. If you are using Yourpay you must enter the 10 digit store number. This is a common error for the Miva Merchant shopping cart because it asks for "storename." If you are setting up a shopping cart make sure you enter your store number when prompted for "storename."


SGS-020006: Please contact merchant services.
Verify first that the the correct store number is entered. This error normally occurs when contact information is updated with your merchant bank. For example if the business phone number or address was recently updated. You will need to contact LinkPoint/Yourpay support and they will need to generate a new PEM file for your account. You will then need to download the new file and either upload it to your web site or copy/paste it into your shopping cart.


SGS-020003: Invalid XML
There are a couple different things that will cause this error.
  1. Make sure the amount for chargetotal is not blank.
  2. Make sure expiration year is only 2 digits
  3. Make sure there is no dollar sign for the amount.
  4. Make sure there are no symbols like an ampersand, apostrophe, or letters with accents
  5. If there is no shipping make sure you pass zero for the amount
  6. If there is no tax make sure you pass zero for the amount
  7. Make sure there are no commas in the amount for chargetotal

You can use the CDATA tag to pass any symbols. For example:
CODE
<![CDATA[R&D]]>

If you are developing in PHP you can try using HTMLENTITIES instead.
CODE
$var1 = "R&D";
$var2 = htmlentities($var1, ENT_QUOTES, 'UTF-8');


SGS-020003: Invalid XML - invalid tag installments
At the moment you can only set installments from 1-99 or -1 for an infinite amount of times.


SGS-002200: There was a gateway configuration error
The gateway is experiencing problems.


SGS-002300: No credit card expiration year provided
The credit card entered is expired or cancelled.


SGS-002301: Charge total must be the sum of subtotal, tax, vallue added tax, and shipping.
Make sure all the amounts add up correctly. Also make sure you round up to 2 decimal places.


SGS-002303: Invalid credit card number.
Make sure the correct amount of digits was entered for the credit card. Dashes are acceptable using API.


SGS-002304: Credit card is expired.
Make sure the expiration date has not passed.


SGS-002000: The server encountered an error: Unsupported credit card type.
Your merchant account may not be seutp for American Express or Discover. Please contact merchant services to verify this.


SGS-002000: The server encountered an error: General Processor Error.
There are a couple different things that would cause this error. The merchant account may be disabled in one of the databases with your merchat account provider. This is sometimes generated for a declined transaction.


SGS-005999: There was an unknown error in the database
Normally you will receive this error when you enter the wrong order number (OID) when trying to modify or cancel a periodic bill. Make sure the order number is for an active periodic bill.


SGS-005005: Duplicate transaction.
The default fraud settings do not allow the same amount on the same credit card to be submitted more than once within 10 minutes. If a transaction is declined the customer will need to wait 10 minutes before trying again. You can change this setting on LinkPoint Central.
  1. Log into LinkPoint Central
  2. Click on Admin in the top menu
  3. Under Fraud Settings click on "Set Lockout Times"
  4. Change "Duplicate Locktout Time" from 10 minutes to something less.


SGS-005003: The order already exists in the database.
The LinkPoint gateway will not allow the same order number to be submitted more than once. If a transaction is declined the order number must be changed.


SGS-005002: The merchant is not setup to support the requested service.
There maybe a problem with the credit card entered. Verify the credit card number with the customer.


SGS-005002: No approved authorization found
Either no order number or the incorrect one was specified when trying to do a postauth.


SGS-005002: No transaction to void found
Either no order number or the incorrect one was specified when trying to do a void.


SGS-005000: The server encountered a database error.
Make sure you have not exceeded the character limit for any of the fields. The <items><description> field has a limit of 120 characters.


SGS-011202: Not authorized to run a Credit Transaction.
You need to contact LinkPoint/Yourpay support to have the credit option enabled on your account.


SGS-020011: Creditcard or check information is required.
When modifying a periodic bill the credit card information must be included.


SGS-020013: Unexpected AuthService Response
The gateway may possibly be experiencing problems.