Zen Cart Logo
Forums / Addon Payment Modules / Nixaks Sagepay Form Module

Nixaks Sagepay Form Module

Views: 60,942

Results 61 to 80 of 214
22 Feb 2010, 8:22 PM
#61
nixak avatar

nixak

Zen Follower

Join Date:
Nov 2007
Location:
Essex, UK
Posts:
137
Plugin Contributions:
1

Nixaks Sagepay Form Module

PatF:

Hi Nixak,

Had a quick look there - all that was downloaded from your forum area was an empty folder though. :dontgetit

My sincere apoligies .... seems there was a problem with the website and downloads. It should be fixed now ... iv'e just tested it and all worked ok :clap:

p.s. if there is any problem on my site could you please post it there .... I don't want to upset the zen admins :shocking: but thank you for letting me know :D

22 Feb 2010, 8:38 PM
#62
nixak avatar

nixak

Zen Follower

Join Date:
Nov 2007
Location:
Essex, UK
Posts:
137
Plugin Contributions:
1

Re: Nixaks Sagepay Form Module

Hi all,
Just recieved the email from the zen admins, version 1.3 can now be downloaded from the zen cart site :D thank you zen admins :clap:

25 Feb 2010, 2:55 AM
#63
mattsun avatar

mattsun

New Zenner

Join Date:
Jun 2009
Posts:
11
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

Just download the 1.3 and havn't installed yet.

Still, I'd like to say Thank You to Nixaks.

:clap:

25 Feb 2010, 11:52 AM
#64
nixak avatar

nixak

Zen Follower

Join Date:
Nov 2007
Location:
Essex, UK
Posts:
137
Plugin Contributions:
1

Re: Nixaks Sagepay Form Module

mattsun:

Just download the 1.3 and havn't installed yet.

Still, I'd like to say Thank You to Nixaks.

:clap:

Your more than welcome :cool:

20 Mar 2010, 10:09 AM
#65
zac123 avatar

zac123

New Zenner

Join Date:
Mar 2010
Posts:
2
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

Hi quick question, does your Mod. support Sage Pay 'direct' method?

thanks
zac

20 Mar 2010, 11:05 AM
#66
nixak avatar

nixak

Zen Follower

Join Date:
Nov 2007
Location:
Essex, UK
Posts:
137
Plugin Contributions:
1

Re: Nixaks Sagepay Form Module

zac123:

Hi quick question, does your Mod. support Sage Pay 'direct' method?

thanks
zac

Hi Zac, sorry no this mod is for sagepay form only. There is a free module for direct somewhere ......... aha found it here (SagePay is the new name for Protx)

If you have any problems with it there is a forum thread for it somewhere, or let me know and I will see if I can fix it (I have a feeling it uses the old Protx http address's which may or may not work)

Regards
Nixak

20 Mar 2010, 2:50 PM
#67
zac123 avatar

zac123

New Zenner

Join Date:
Mar 2010
Posts:
2
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

great thanks for that.

zac

6 Apr 2010, 8:20 PM
#68
maryf avatar

maryf

New Zenner

Join Date:
Apr 2008
Posts:
29
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

Nixak
Your module does not seem to support download products.
Sagepay wants the shipping address but downloads don't have this so there is an error message: Status Detail: 3144 : The Delivery information is required.

Have you addressed this issue?

6 Apr 2010, 8:57 PM
#69
maryf avatar

maryf

New Zenner

Join Date:
Apr 2008
Posts:
29
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

If someone could help with adding an if / else statement in the code then we could get the billing info sent to SagePay if it is a download product and there is no delivery address.

Here is the section of code inside the file called includes/modules/payment/sagepay_form.php.

How do I add the statement in the section after this line:
```
$plain .= "BillingPhone=" . $order->customer['telephone'] . "&";


In other words, the code must check to see if the customers delivery address OR postcode is empty. If both or any of the delivery fields are empty, it posts the billing address to SagePay instead.


		```
$plain .= "BillingPhone=" . $order->customer['telephone'] . "&";	
		$plain .= "DeliverySurname=" . $order->delivery['lastname'] . "&";
		$plain .= "DeliveryFirstnames=" . $order->delivery['firstname'] . "&";
		$plain .= "DeliveryAddress1=" . $order->delivery['street_address'] . "&";
      if (ACCOUNT_SUBURB == 'true') {
        $plain .= "DeliveryAddress2=" . $order->delivery['suburb'] . "&";
    }
		$plain .= "DeliveryCity=" . $order->delivery['city'] . "&";
		$plain .= "DeliveryPostCode=" . $order->delivery['postcode'] . "&";
		$plain .= "DeliveryCountry=" . $order->delivery['country']['iso_code_2'] . "&";

Would appreciate come help with this.thanks.

6 Apr 2010, 10:34 PM
#70
nixak avatar

nixak

Zen Follower

Join Date:
Nov 2007
Location:
Essex, UK
Posts:
137
Plugin Contributions:
1

Re: Nixaks Sagepay Form Module

Hi MaryF,
I'm looking at the problem you've described but i'm a little confused, the delivery address is always the same as the billing address unless the customer specifies a different address, so Zen-cart will always have the delivery address and you should recieve no problems.

What version of Zen-Cart are you using? and are you using any mods, especially ones that allow the customers to checkout without registering to your site?

7 Apr 2010, 12:58 AM
#71
maryf avatar

maryf

New Zenner

Join Date:
Apr 2008
Posts:
29
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

You are right! I have a fast and easy checkout module installed - it wasn't activated in admin so wasn't working yet. I had deactivated it a few weeks back in order to work on getting my shop transferred over from SagePay Direct to Form module.

It seems to be working fine now! Thanks.

7 Apr 2010, 8:48 AM
#72
nixak avatar

nixak

Zen Follower

Join Date:
Nov 2007
Location:
Essex, UK
Posts:
137
Plugin Contributions:
1

Re: Nixaks Sagepay Form Module

Your welcome MaryF :D

20 Apr 2010, 6:47 PM
#73
kcmp avatar

kcmp

New Zenner

Join Date:
Apr 2010
Posts:
6
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

Hey Nixak, thanks for a great module, but I'm having some trouble with the configuration, and I was hoping you might be able to help me out.

It seems that the module is not sending the TxType data to Sage Pay. I keep getting the following error:


This transaction attempt has failed. We are unable to redirect you back to the web store from which you were purchasing. The details of the failure are given below.

Status: MALFORMED

Status Detail: 3039 : The TxType or PaymentType is missing.

I have the module configured to "test," and the vendor name and encryption password are correct.

I tested the system with SagePay's testvendor account as well, and send the query to their showpost page, and got the following:


The Request.Form Collection

VPSProtocol = 2.23
TxType =
Vendor = testvendor
Crypt = [LEFT OUT BECAUSE IT'S HUGE]
btn_submit.x = 62
btn_submit.y = 15


As you can see, there seems to be no TxType being sent to SagePay.

Any idea what might be going on?

20 Apr 2010, 7:45 PM
#74
nixak avatar

nixak

Zen Follower

Join Date:
Nov 2007
Location:
Essex, UK
Posts:
137
Plugin Contributions:
1

Re: Nixaks Sagepay Form Module

Hi KCMP, sorry to hear your having a problem.
Couple of things I need to check, are you using the latest version of the module? (1.3 is the current one) and are you using the up-to-date version of zen-cart? (1.3.8a) if not I would recommend updating. If you are up-to-date the only thing I can think of is that the one of the files was corrupted whilst uploading to your site (I've had this happen with certain ftp programs that I no longer use) so try deleting the two sagepay_form.php files and re-upload them. If this fails please let me know and I will try to resolve it asap.

Regards
Nixak

20 Apr 2010, 8:46 PM
#75
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Nixaks Sagepay Form Module

Pssst. Update version of Zen Cart is 1.3.9a.

20 Apr 2010, 9:17 PM
#76
nixak avatar

nixak

Zen Follower

Join Date:
Nov 2007
Location:
Essex, UK
Posts:
137
Plugin Contributions:
1

Re: Nixaks Sagepay Form Module

lol oh dear ...... I will have to look in to that, thank you kuroi

ps there should'nt be any reason for the updates to effect the module as far as i'm aware.

21 Apr 2010, 3:40 AM
#77
kcmp avatar

kcmp

New Zenner

Join Date:
Apr 2010
Posts:
6
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

I'm running Zen Cart version 1.3.8a. I took a look at the upgrade instructions and it seems pretty daunting. This is my first time working with Zen Cart, so I'm a little afraid to mess with the primary files.

Is there anything I might try before trying an upgrade?

21 Apr 2010, 4:14 AM
#78
kcmp avatar

kcmp

New Zenner

Join Date:
Apr 2010
Posts:
6
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

I've re-uploaded the SagePay Form files. Still no change.

Where is the TxType defined in ZenCart? Maybe I have something in ZenCart itself configured wrong.

21 Apr 2010, 5:09 AM
#79
apovey avatar

apovey

New Zenner

Join Date:
Jul 2007
Posts:
29
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

I've tried the Sage Pay payment module in Test Mode and all works okay, but when I set it to Live mode and go to checkout I get the following error message:

--

https://live.sagepay.com/gateway/service/vspform-register.vsp

This transaction attempt has failed. Please use the Proceed button go back to the web store from which you were purchasing. The details of the failure are given below.

Status: INVALID

Status Detail: 4006 : The TxType requested is not supported on this account.

--

Can anyone help?

21 Apr 2010, 7:29 PM
#80
nixak avatar

nixak

Zen Follower

Join Date:
Nov 2007
Location:
Essex, UK
Posts:
137
Plugin Contributions:
1

Re: Nixaks Sagepay Form Module

Hi, sorry about the late reply but i've been at work all day :no:

apovey:

I've tried the Sage Pay payment module in Test Mode and all works okay, but when I set it to Live mode and go to checkout I get the following error message:

--

https://live.sagepay.com/gateway/service/vspform-register.vsp

This transaction attempt has failed. Please use the Proceed button go back to the web store from which you were purchasing. The details of the failure are given below.

Status: INVALID

Status Detail: 4006 : The TxType requested is not supported on this account.

If I remember correctly, after you do a successful purchase in test mode using the test card details from sagepay, you have to contact sagepay to activate the live account. All the info is in the readme file included in the module.

KCMP:

I've re-uploaded the SagePay Form files. Still no change.

Where is the TxType defined in ZenCart? Maybe I have something in ZenCart itself configured wrong.

In admin/modules/payment you need to click on the sagepay module and then click edit. In there you will find all the settings for the module. Under the box where you enter your encryption password there should be "Transaction Mode" then "Transaction Type" and the module should use the type "payment" by default. Sagepay only offer the other types of payment if you have agreed it with them.
Please ensure that you have entered the correct vendor name and your encryption password supplied to you by sagepay or else the encryption cannot be de-coded by sagepay and the transaction will fail.
Also don't worry about the zen-cart upgrade as this does not affect the module (I have my website running on 1.3.8a with the sagepay module working) but I do recommend you upgrade as soon as you can as all upgrades improve your site's security and fix any bugs that the zen-cart team have found.

I hope this helps both of you but if either you or apovey are unable to fix your problems, please let me know and we will try to find out what has happened.

Regards
Nixak