Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 07-06-2015 13:23:43

dukes
Member
From: London
Registered: 09-18-2003
Posts: 97
Website

clickcart Pro v6.0 integration of Sagepay payment form V3.0

Hi
I need to upgrade the v6.0 of clickcart to use the new sagepay payment form v3.0. If anyone has done this can they post the code to put in the payment gateway. I dont wish to upgrade to V8.0 yet as I am holding off till the new release comes out. I just need to fix the above issue as the sagepay payment form I am using is V2.22 and this will cease to work on the 31st July 2015 i.e. in a few weeks at which point no payments will be able to be placed with the old protocol. I'll upgrade soon enough but If someone can help with the above that would be great. And many thanks in advance.

regards
dukes


regards
dukes

Offline

 

#2 07-07-2015 03:43:44

tguswell
Member
From: Plymouth, Devon
Registered: 07-31-2010
Posts: 128
Website

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

Dukes

Are you using the Greenbarm version of Clickcartpro as there are a few legal issues between the two (see previous posts)? If you are then you will need to contact Howard at Greenbarm.

I had previously used this version but I have now updated to the Kryptronic version (now on version 8.09 and soon to be version 9).

There has already been a patch made available on this forum for v8.09.

Terry

Offline

 

#3 07-07-2015 05:41:40

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

If this is a GB V6, definitely upgrade.  That version was last developed in 2007.  It has a lot of issues on newer servers (remember it was built before PHP5 and MySQL4) and has not been patched by Kryptronic in years.  Contact our custom shop.


Nick Hendler

Offline

 

#4 07-12-2015 16:07:06

mixer25
Member
From: Ireland
Registered: 04-02-2006
Posts: 601

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

I have Eurocart 8 version, is this to be updated as only a few working days til Sagepay 3.0 is out!

Offline

 

#5 07-13-2015 06:32:55

kev
Member
Registered: 03-16-2009
Posts: 399

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

The code found on the below post works:

https://forum.kryptronic.com/viewtopic.php?id=32425

also be sure that fields SAGEPAYtrans and SAGEPAYresp are setup properly (currently set to PROTXtrans and PROTXresp) in your payment gateways sagepay setup.

Offline

 

#6 07-14-2015 07:38:38

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

Thanks for the post, kev.  We've got a few open tickets on this and have now blessed and will be updating the software with the code that's linked to.


Nick Hendler

Offline

 

#7 07-18-2015 05:30:49

dukes
Member
From: London
Registered: 09-18-2003
Posts: 97
Website

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

Thanks for the replies everyone. I'm using the Kryptronic version 6.0. I would like to upgrade if possible to the latest Europacart version with the required update for sagepay included. I assume the latest version of Europacart is all fully mobile friendly etc.


regards
dukes

Offline

 

#8 07-20-2015 07:00:46

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

I assume the latest version of Europacart is all fully mobile friendly etc.

Yes, it is.


Nick Hendler

Offline

 

#9 07-20-2015 07:26:39

dukes
Member
From: London
Registered: 09-18-2003
Posts: 97
Website

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

Hi
Nick I sent you my license number. Am I entitled to the europacart upgrade even though I had the clickcart v6.0 previously?


regards
dukes

Offline

 

#10 07-20-2015 09:24:53

mixer25
Member
From: Ireland
Registered: 04-02-2006
Posts: 601

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

webmaster wrote:

Thanks for the post, kev.  We've got a few open tickets on this and have now blessed and will be updating the software with the code that's linked to.

Nick will this be in the form of a normal update and will it be before July 31st as the carts will stop working with the old system on that date!

Offline

 

#11 07-21-2015 06:34:15

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

We are doing a minor (silent) update to the version 8 codebase with the changes so all new installs and full reload updates get the changes.  For existing installs like yours, we're providing manual update instructions that will be easy to follow, and if you would like the custom shop to handle the update manually for you, we can do so for a small support charge.


Nick Hendler

Offline

 

#12 07-21-2015 07:12:29

dukes
Member
From: London
Registered: 09-18-2003
Posts: 97
Website

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

Hi
so what do I purchase? If I have version 6.0 of clickcartpro. ?


regards
dukes

Offline

 

#13 07-21-2015 07:38:31

mixer25
Member
From: Ireland
Registered: 04-02-2006
Posts: 601

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

webmaster wrote:

We are doing a minor (silent) update to the version 8 codebase with the changes so all new installs and full reload updates get the changes.  For existing installs like yours, we're providing manual update instructions that will be easy to follow, and if you would like the custom shop to handle the update manually for you, we can do so for a small support charge.

Thats great, but will this be happening soon though as Sagepay are harassing people to change over now as 31st it will change over completely.

Offline

 

#14 07-22-2015 16:50:36

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

Yes, this is being published tomorrow.


Nick Hendler

Offline

 

#15 07-24-2015 08:57:32

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

Kryptronic has released updated code for SagePay V3.  Please review the link below for information on how to apply the updated code to your gateway integration:

https://central.kryptronic.com/public/n … 2015A.html


Nick Hendler

Offline

 

#16 09-10-2015 05:35:24

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

Hi

There is a problem with the new code at https://central.kryptronic.com/public/n … 2015A.html as it does not work for customers based in the US. The 2 digit State code is mandatory for US addresses (both billing and shipping). It is not required for any other country. Please can you update the code to cater for this.

Thanks

Last edited by sdn (09-10-2015 05:37:17)


Simon

Offline

 

#17 09-10-2015 07:23:55

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

You say you're using SagePay in the US?  Does that work?  Assuming the state/province code is transmitted?


Nick Hendler

Offline

 

#18 09-10-2015 07:53:14

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

We are in the UK but we have some customers in the States that want to pay by card. Their payments go through our UK SagePay account hence the reason we need to code mod.

At present SagePay will not process their payments. We get "error code 3147 : The BillingState field is required.". The details sent are "billingcountry=US billingstate= billingphone=7047..."

The State code is only required for US billing and shipping addresses.

Last edited by sdn (09-11-2015 01:31:18)


Simon

Offline

 

#19 09-11-2015 07:52:27

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

I understand.  Thanks for posting 'BillingState' as the field name.  A few questions so I can post the updated code:

What is the shipping field name?

Do we send the state/province abbreviation in those fields, or the full state/province name?

Do we send the state/province in the *State fields when non-US, non-CA orders are submitted?  Ie, will it fail if we send a state/province (ie. county) for a UK/EU order?

Thanks.


Nick Hendler

Offline

 

#20 09-11-2015 10:37:07

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

It is all detailed in the SagePay form guide (pages 36 & 37) available at:

http://www.sagepay.co.uk/file/1151/down … -9UO0OhroI

It applies to US addresses only (no other country). I think it might mess up the authorisation if "XX" is sent for any other country states. Is it possible to do something like

if ($order['order']['countryabb'] == 'US') {
$stuff .= "BillingState="...

and

if ($ship_addy['countryabb'] == 'US') {
$stuff .= "DeliveryState="...

They require the two letter abbreviation that you already have in the database e.g. Alabama = AL so it would be

DeliveryState=AL

Last edited by sdn (09-14-2015 08:34:28)


Simon

Offline

 

#21 09-23-2015 08:08:04

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

Can you we an answer on this please.


Simon

Offline

 

#22 09-24-2015 06:58:58

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: clickcart Pro v6.0 integration of Sagepay payment form V3.0

I've updated the file here with coding that includes the BillingState and DeliveryState fields:

https://central.kryptronic.com/public/n … formv3.txt


Nick Hendler

Offline

 

Board footer