Skip to main content

Hikashop sagepay plugin - not working

More
8 years 2 months ago - 8 years 2 months ago #295416 by cmoorhouse
-- HikaShop version -- : 3.5.0
-- Joomla version -- : 3.8.8
-- PHP version -- : 5.6.32
-- Browser(s) name and version -- : Chrome

I am trying to set up the Hikashop sagepay plugin and have not been able to successfully connect with the sagepay account

We are receiving the following error when a customer tries to pay:
5080 : Form transaction registration failed.

The log file shows:
Code:
07.05.18 05:05:56 - sagepay SagePay Post Data VendorTxCode=2322&Amount=8&Currency=GBP&Description=E2J3Z22&SuccessURL=https ://priorparkschools.zealouskitebookingsystem.co.uk/sagepay_3.php&FailureURL= https://priorparkschools.zealouskitebookingsystem.co.uk/sagepay_3.php?user_c ancel=1&CustomerName= &SendEMail=2&BillingFirstnames=&BillingSurname=&BillingAddress1=&BillingAddr ess2=&BillingCity=&BillingPostCode=0000&BillingCountry=&DeliveryFirstnames=& DeliverySurname=&DeliveryAddress1=&DeliveryAddress2=&DeliveryCity=&DeliveryP ostCode=0000&DeliveryCountry=&ReferrerID=B5C3FBCA-9E9C-4C49-B3ED-3AFEEF7592A 4&BillingAgreement=0&AllowGiftAid=0&ApplyAVSCV2=0&Apply3DSecure=0&BasketXML= Grand Leavers Concert18 unitTaxAmount>08unitTaxAmount>lGro ssAmount>8

The sagepay team asked us to check which type of integration the shopping cart uses and said that not all shopping carts can use Server for example.

Are you able to confirm

thank you
Caroline
Last edit: 8 years 2 months ago by Jerome. Reason: usage of [code] tag

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

More
8 years 2 months ago #295419 by Jerome
Hello,

There is no Billing Country (and Delivery Country) in the Posted data.
Would it be possible that you have remove the "address country" custom field ?

Regards,

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

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

More
8 years 2 months ago #295477 by cmoorhouse
Hi

thank you for your reply

I don't believe i have removed the country field but can you confirm how i check?

thank you
Caroline

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

More
8 years 2 months ago #295483 by nicolas
Hi,

Go in the menu Display>Custom fields and open the settings of the "address_country" custom field to see its settings.
I wanted to check on the issue on your website but I couldn't find any way to access the checkout.
Could you provide precise instructions to reproduce the issue ?
Also, to me it sounds like the whole address of the customer is missing, not just the country. Can you check that you didn't remove the "address" view from the "checkout workflow" setting in the HikaShop configuration ?

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

More
8 years 2 months ago - 8 years 2 months ago #295586 by cmoorhouse
As this is a live site i am disabling the sagepay plugin and briefly re-enabling while i test.

To test the front end the url is priorparkschools.zealouskitebookingsystem.co.uk - you then need to create an account and try and book the Holiday club - August Camp Teepee. Does it help to send you admin access?

As far as i can tell the country field is there. I have just added the address back into the checkout workflow - - but i still get an error.
If you can take a look for me it would be much appreciated.

thank you
Caroline

Current error - See below

07.19.18 07:57:52 - sagepay
Code:
SagePay Post Data VendorTxCode=2357&Amount=35&Currency=GBP&Description=E2L3M57&SuccessURL=https://priorparkschools.zealouskitebookingsystem.co.uk/sagepay_3.php&FailureURL=https://priorparkschools.zealouskitebookingsystem.co.uk/sagepay_3.php?user_cancel=1&CustomerName=Caroline Moorhouse&SendEMail=2&BillingFirstnames=Caroline&BillingSurname=Moorhouse&BillingAddress1=Ashley Croft, Ashley, Box&BillingAddress2=&BillingCity=Corsham&BillingPostCode=SN138AQ&BillingCountry=GB&DeliveryFirstnames=Caroline&DeliverySurname=Moorhouse&DeliveryAddress1=Ashley Croft, Ashley, Box&DeliveryAddress2=&DeliveryCity=Corsham&DeliveryPostCode=SN138AQ&DeliveryCountry=GB&ReferrerID=B5C3FBCA-9E9C-4C49-B3ED-3AFEEF7592A4&BillingAgreement=0&AllowGiftAid=0&ApplyAVSCV2=0&Apply3DSecure=0&BasketXML=<basket><item><description>Camp Teepee (August 2018)</description><quantity>1</quantity><unitNetAmount>35</unitNetAmount><unitTaxAmount>0</unitTaxAmount><unitGrossAmount>35</unitGrossAmount><totalGrossAmount>35</totalGrossAmount></item></basket>
Last edit: 8 years 2 months ago by Jerome. Reason: [code] tag is nice

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

More
8 years 2 months ago #295588 by Mohamed Thelji
Hello,

Can you test it again with a different value for the "Send basket data" option of your Sagepay configuration page via "Hikashop->System->Payment methods" ? Thank you.

Best regards,
Mohamed Thelji.

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

More
8 years 2 months ago - 8 years 2 months ago #295629 by cmoorhouse
Hi

The field only shows the option as yes/no

Are you saying to swap it to no?
See screen shot attached

thank you
Caroline
Last edit: 8 years 2 months ago by cmoorhouse.

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

More
8 years 2 months ago #295631 by Jerome
Hello,

Please set the value to "no".

Regards,

PS : Please be careful with your screenshot to not share personal credentials (even if it's test credentials).

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

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

More
8 years 2 months ago #295676 by cmoorhouse
Now set to no but i still get an error

what should i try next?




07.21.18 07:04:18 - sagepay

SagePay Post Data
VendorTxCode=2365&Amount=35&Currency=GBP&Description=E2L3W65&SuccessURL=https://priorparkschools.zealouskitebookingsystem.co.uk/sagepay_3.php&FailureURL=https://priorparkschools.zealouskitebookingsystem.co.uk/sagepay_3.php?user_cancel=1&CustomerName=Caroline Moorhouse&SendEMail=2&BillingFirstnames=Caroline&BillingSurname=Moorhouse&BillingAddress1=Ashley Croft, Ashley, Box&BillingAddress2=&BillingCity=Corsham&BillingPostCode=SN138AQ&BillingCountry=GB&DeliveryFirstnames=Caroline&DeliverySurname=Moorhouse&DeliveryAddress1=Ashley Croft, Ashley, Box&DeliveryAddress2=&DeliveryCity=Corsham&DeliveryPostCode=SN138AQ&DeliveryCountry=GB&ReferrerID=B5C3FBCA-9E9C-4C49-B3ED-3AFEEF7592A4&BillingAgreement=0&AllowGiftAid=0&ApplyAVSCV2=0&Apply3DSecure=0

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

More
8 years 2 months ago #295695 by Jerome
Hello,

Without more details about the error, it will be difficult to say.
I can see that you have coma in the address ; but that character is authorized in the SagePay integration documentation so it should not be the source of the issue... Afterwards, anything is possible since the error is not explaining what is the problem !
If you have the possibility to have more details from the SagePay support team, it would highly help.
Right now we can just make speculations and trying to remove what could be a problem.

Please note that the error 5080 can also be a result of wrong credentials.
So you should double check that your credentials are correct (and that you're using the "test credentials" in the "test environment")
CF : www.sagepay.co.uk/support/error-codes/50...-registration-failed

Regards,

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

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

More
8 years 2 months ago #295811 by cmoorhouse
thank you - i am just going back to the sage pay team

The sagepay team have asked me to check with you which type of integration the shopping cart uses and said that not all shopping carts can use Server for example. Can you let me know?

thank you
Caroline

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

More
8 years 2 months ago #295816 by Jerome
Hello,

I put a link on the Error 5080, which is describe in their website as

5080 : ERROR : Form transaction registration failed.

That error code is a specific for the "Form Integration".
They also gave a link to the documentation PDF in the page.

Regards,

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

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

More
8 years 1 month ago #296479 by cmoorhouse
The sage team believe the issue is because i have not entered an encryption key on the form at this end

Can you please confirm where i enter the encryption key - i can not see a place to enter it

thank you
Caroline

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

More
8 years 1 month ago #296484 by Jerome
Hello,

The "password" setting is the encryption key.
www.hikashop.com/support/documentation/1...epay-form.html#infos

Regards,

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

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

Time to create page: 0.215 seconds
Powered by Kunena Forum