Title: Simulator or Test
Last modified: August 21, 2016

---

# Simulator or Test

 *  Resolved [glennwills](https://wordpress.org/support/users/glennwills/)
 * (@glennwills)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simulator-or-test/)
 * Hi, Thanks for plugin.
 * If I use simulator I get error message
    INVALID – SIMULATOR CANNOT FIND YOUR 
   VENDOR NAME IN ITS DATABASE. THE SIMULATOR SAW THE VENDOR NAME ‘ANDEVAUNDERWRI1’
 * If I use test account I get error message ‘Code 2000’
 * Any suggestions?
 * [https://wordpress.org/plugins/sagepay-direct-for-woocommerce-payment-gateway/](https://wordpress.org/plugins/sagepay-direct-for-woocommerce-payment-gateway/)

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/simulator-or-test/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/simulator-or-test/page/2/?output_format=md)

 *  Thread Starter [glennwills](https://wordpress.org/support/users/glennwills/)
 * (@glennwills)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4675745)
 * Sorry the second error message was ‘NOTAUTHED – THE AUTHORISATION WAS DECLINED
   BY THE BANK. (CODE: 2000)’
 *  Plugin Author [swicks](https://wordpress.org/support/users/swicks/)
 * (@swicks)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4675755)
 * Hi
    What opton did you select on the SagePay simulator? The response back from
   the simulator is controlled by yourself?
 * If you select OK/REGISTERED do you still get the same error?
 *  Thread Starter [glennwills](https://wordpress.org/support/users/glennwills/)
 * (@glennwills)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4675758)
 * Where do you select OK/REGISTERED?
 *  Plugin Author [swicks](https://wordpress.org/support/users/swicks/)
 * (@swicks)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4675773)
 * This is on SagePay’s simulator.
 * [https://test.sagepay.com/simulator/vspdirect.asp](https://test.sagepay.com/simulator/vspdirect.asp)
 *  Thread Starter [glennwills](https://wordpress.org/support/users/glennwills/)
 * (@glennwills)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4675881)
 * Hi,
 * I am getting no errors but I’m not leaving the checkout page. I get the following
   email message
 * Payment Gateway URL: [https://test.sagepay.com/Simulator/VSPDirectGateway.asp](https://test.sagepay.com/Simulator/VSPDirectGateway.asp)
 * 3D Secure Callback URL: [https://test.sagepay.com/Simulator/VSPDirectCallback.asp](https://test.sagepay.com/Simulator/VSPDirectCallback.asp)
 * Payment Gateway Response:Array
    ( [VendorTxCode] => andevaunderwri1-140306152753-
   359799630 [Created] => 2014-03-06 15:27:53 [VPSProtocol] => 2.23 [Status] => 
   MALFORMED [StatusDetail] => The DeliverySurname field is missing from the POST.[
   result] => malformed )
 *  Plugin Author [swicks](https://wordpress.org/support/users/swicks/)
 * (@swicks)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4675893)
 * You should of also received a Request email with all the sent details to sagepay.
 * do you get the same statusdetail message everytime?
 * what versions of WP, WC & SagePay Direct are you running sa I can try and emulate?
 *  Thread Starter [glennwills](https://wordpress.org/support/users/glennwills/)
 * (@glennwills)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4675904)
 * I appreciate your help as I’m struggling here…
 * Here is the request form
 * Payment Gateway URL: [https://test.sagepay.com/Simulator/VSPDirectGateway.asp](https://test.sagepay.com/Simulator/VSPDirectGateway.asp)
 * 3D Secure Callback URL: [https://test.sagepay.com/Simulator/VSPDirectCallback.asp](https://test.sagepay.com/Simulator/VSPDirectCallback.asp)
 * Payment Gateway Request: Array
    ( [CardHolder] => Jeremy Rishworth [CardNumber]
   => 5404000000000001 [StartDate] => 0214 [ExpiryDate] => 0417 [CV2] => 123 [CardType]
   => MC [VendorTxCode] => andevaunderwri1-140306161933-903879548 [VPSProtocol] 
   => 2.23 [Vendor] => andevaunderwri1 [Description] => andevaunderwri1 [Currency]
   => GBP [TxType] => PAYMENT [Amount] => 19.99 [CustomerEMail] => [carey@glennwills.com](https://wordpress.org/support/topic/simulator-or-test/carey@glennwills.com?output_format=md)[
   BillingSurname] => Rishworth [BillingFirstnames] => Jeremy [BillingAddress1] 
   => 88 [BillingAddress2] => [BillingCity] => London [BillingState] => [BillingPostCode]
   => HP2 7ES [BillingCountry] => GB [BillingPhone] => 01442531135 [DeliverySurname]
   => [DeliveryFirstnames] => [DeliveryAddress1] => [DeliveryAddress2] => [DeliveryCity]
   => [DeliveryState] => [DeliveryPostCode] => [DeliveryCountry] => [DeliveryPhone]
   => 01442531135 )
 * I’m using wp version 3.8.1
    Woo 2.1.5 And 0.1.7.0 of your direct payment gateway
 * Should I be using the test cards from sagepay or my own to test? The sagepay 
   test cards don’t have a valid postcode.
 * The message I am getting now is
 * MALFORMED – THE DELIVERYSURNAME FIELD IS MISSING FROM THE POST.
 * Thanks again.
 *  Plugin Author [swicks](https://wordpress.org/support/users/swicks/)
 * (@swicks)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4675907)
 * Hi
    SagePay needs shipping details, this is taken directly by the plugin from
   the woocommerce order object. Would there be any reason why in this particular
   order doesn’t require delivery details or is this happening on all orders?
 * Versions are all upto date, which I have already tested.
 * For simulator and test you should only use test cards. You can’t test the postcode
   in woocommerce because of it’s own validation and it’s not a problem it’s failing,
   it’s just a warning letting you know that an invalid postcode was used.
 * also, the first line of the address only needs to begin with 88 to validate –
   you can enter ’88 High Street’ for example
 * The message makes sense based on your request – this information is mandatory
   and it will fail.
 * Is this a collection or a download, should it have a delivery address.
 * regards
 * Steve
 *  Thread Starter [glennwills](https://wordpress.org/support/users/glennwills/)
 * (@glennwills)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4675908)
 * Thanks Steve,
 * It’s a virtual product – once purchased and info is captured we will email the
   customer with a certificate.
 * Is there away around the delivery address or not?
 * Jeremy
 *  Plugin Author [swicks](https://wordpress.org/support/users/swicks/)
 * (@swicks)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4675909)
 * Can you confirm that everything works with a standard product and I will take
   a look at the virtual.
 * Regards
 *  Plugin Author [swicks](https://wordpress.org/support/users/swicks/)
 * (@swicks)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4675912)
 * Hi Jeremy
 * I’ve updated the dev version with support for virtual products and the sagepay
   simulator.
 * [development version](http://downloads.wordpress.org/plugin/sagepay-direct-for-woocommerce-payment-gateway.zip)
 * Regards,
 * Steve
 *  Thread Starter [glennwills](https://wordpress.org/support/users/glennwills/)
 * (@glennwills)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4675914)
 * Thanks,
 * Sorry to be stupid but do I just replace the original files in /plugins folder?
 * Great support!
 *  Plugin Author [swicks](https://wordpress.org/support/users/swicks/)
 * (@swicks)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4675916)
 * That’s correct, however the only file that has changed is ds-sagepay-direct.php,
   so you could just overwrite that.
 * Regards
 *  Plugin Author [swicks](https://wordpress.org/support/users/swicks/)
 * (@swicks)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4675982)
 * Ticket Closed
 *  Thread Starter [glennwills](https://wordpress.org/support/users/glennwills/)
 * (@glennwills)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/simulator-or-test/#post-4676002)
 * Hi,
 * I have now switched the site from test to live and the customer is getting the
   following error message.
 * ‘Information received from an invalid ip address – Code 4020’
 * When possible please let me know what is wrong.

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/simulator-or-test/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/simulator-or-test/page/2/?output_format=md)

The topic ‘Simulator or Test’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sagepay-direct-for-woocommerce-payment-
   gateway_8284e5.svg)
 * [WooCommerce SagePay Direct Payment Gateway](https://wordpress.org/plugins/sagepay-direct-for-woocommerce-payment-gateway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sagepay-direct-for-woocommerce-payment-gateway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sagepay-direct-for-woocommerce-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/sagepay-direct-for-woocommerce-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sagepay-direct-for-woocommerce-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sagepay-direct-for-woocommerce-payment-gateway/reviews/)

 * 19 replies
 * 2 participants
 * Last reply from: [swicks](https://wordpress.org/support/users/swicks/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/simulator-or-test/page/2/#post-4676014)
 * Status: resolved