upgrade Hikashop - electronic goods products creates error code 3140 in sagepay

  • Posts: 27
  • Thank you received: 1
6 years 1 month ago #299475

-- url of the page with the problem -- : shop.ultamation.com/
-- HikaShop version -- : 4.0.0
-- Joomla version -- : 3.8.13
-- PHP version -- : 7.0.32
-- Error-message(debug-mod must be tuned on) -- : sagepay payment error - 3140 : The DeliveryCountry value is invalid.

After updating to Hikashop 4.0 when purchasing through SagePay, the transaction comes up invalid the with status 3140 : The deliveryCountry value is invalid. This is for electronic goods and services which should not require a delivery address.

The request source looks like it has the correct billing information but also includes delivery tag with no information.

Currently we sell both electronic goods (that do not require delivery) and physical goods, so the checkout is set to "show both" but it only shows billing address if the product being purchased is electronic.

Do I need to change some configuration for this now to work or is there a bug since the 4.0 update which forces the blank delivery address to be sent along with the billing address to SagePay.

If you require Invalid request source, then I will need to send that through a private message as it contains private details.

Thanks
Mike

Please Log in or Create an account to join the conversation.

  • Posts: 27
  • Thank you received: 1
6 years 1 month ago #299487

For more information.

When a user creates a new account, if they do not click on the "Same address for shipping" tick box then this problem occurs. If they do click on this tick box then, the order is transferred to SagePay with no errors.

If I go into the users profile and try to manually add a delivery address, this does not fix the problem and the delivery information is not passed onto SagePay.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 1 month ago #299489

Hello,

It might be possible that due to the modification in HikaShop 4 regarding the billing/shipping addresses ; there is no shipping address give to the plugin. While the billing address could be set-up as shipping address in the object, that might be the case in your configuration.
I'm working on a modification for the sagepay plugin to check the shipping object and use the billing one.
Since the shipping details are mandatory in SagePay, even if there is no shipping details, we have to put the billing details instead.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 27
  • Thank you received: 1
6 years 1 month ago #299501

Fantastic, that sounds exactly what I am viewing from the tests I have done today. Let me know when you have a solution.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 1 month ago #299503

Hello,

Please re-download the plugin via your order summary to have the latest version and the patch on the shipping/billing address.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 27
  • Thank you received: 1
6 years 1 month ago #299531

I have re downloaded the SagePay plugin using our order code from your website, however this does not seem to have solved the problem. We are still receiving the 3140 error on SagePay and the request source is still missing the delivery details: "deliveryaddress2= deliverycity= deliverycountry= deliverystate= deliveryphone="

In your post you said "and the patch on the shipping/billing address." do you mean the patch inside of the SagePay plugin or do you mean a different patch that also needs to be downloaded and installed.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 4 weeks ago #299555

Hello,

Would it be possible to have some access to your website in order to analyse the content of the problematic order ?
We would need an access to the backend, to the database (phpmyadmin) and to the FTP.
To perform the investigation, we would need the order ID (or order number) ; so we can check the content of that order in the database and understand why the loading of the billing is not made (and the FTP to apply a patch).

You can use the "contact us" form to send us such private information.
Please include the URL of that forum thread so the support team will know what to do with details.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 27
  • Thank you received: 1
6 years 4 weeks ago #299609

I have sent all the details to you in a personal message.
Thanks
for the help

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 4 weeks ago #299612

Hello,

You can use the "contact us" form to send us such private information.
Please include the URL of that forum thread so the support team will know what to do with details.


You can also find in my forum signature :

By the way, do not send me private message, use the "contact us" form instead.


Thanks :)


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
6 years 4 weeks ago #299686

Hello,

I applied another patch and made a test ; the transaction seems to work fine since I was redirected to the SagePay platform.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 27
  • Thank you received: 1
6 years 3 weeks ago #299771

I can confirm that the problems we were having before seem to be sorted. Thanks for help.

Please Log in or Create an account to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum