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.
Pages: 1
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
Offline
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
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.
Offline
I have Eurocart 8 version, is this to be updated as only a few working days til Sagepay 3.0 is out!
Offline
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
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.
Offline
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.
Offline
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
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.
Offline
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
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
Offline
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)
Offline
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)
Offline
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.
Offline
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)
Offline
Can you we an answer on this please.
Offline
I've updated the file here with coding that includes the BillingState and DeliveryState fields:
https://central.kryptronic.com/public/n … formv3.txt
Offline
Pages: 1