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/
-
Sorry the second error message was ‘NOTAUTHED – THE AUTHORISATION WAS DECLINED BY THE BANK. (CODE: 2000)’
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?
Where do you select OK/REGISTERED?
This is on SagePay’s simulator.
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
3D Secure Callback URL: 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
)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?
I appreciate your help as I’m struggling here…
Here is the request form
Payment Gateway URL: https://test.sagepay.com/Simulator/VSPDirectGateway.asp
3D Secure Callback URL: 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
[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 gatewayShould 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.
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
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
Can you confirm that everything works with a standard product and I will take a look at the virtual.
Regards
Hi Jeremy
I’ve updated the dev version with support for virtual products and the sagepay simulator.
Regards,
Steve
Thanks,
Sorry to be stupid but do I just replace the original files in /plugins folder?
Great support!
That’s correct, however the only file that has changed is ds-sagepay-direct.php, so you could just overwrite that.
Regards
Ticket Closed
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.
The topic ‘Simulator or Test’ is closed to new replies.