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

Nixaks Sagepay Form Module

Views: 60,942

Results 21 to 40 of 214
10 Aug 2009, 10:09 AM
#21
nixak avatar

nixak

Zen Follower

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

Nixaks Sagepay Form Module

Hi Chris, sorry I forgot to say that 1.2 does not upload the shopping cart/basket details either.

The problem is explained in this post, if anyone can help please let me know.

20 Aug 2009, 1:04 PM
#22
nixak avatar

nixak

Zen Follower

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

Re: Nixaks Sagepay Form Module

Just a little update regarding the basket contents, I have finally got it to work :laugh: I will test it over the next few days and as long as all is well I will realease it somtime this weekend hopefully.

If anyone has any requests regarding this module, please post them here and I will see what I can do :cool:

24 Aug 2009, 10:33 AM
#23
optimalwebsite avatar

optimalwebsite

New Zenner

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

Re: Nixaks Sagepay Form Module

No problems so far, only compliments! We took our first order with it today, do congrats from Joel in Bath! :clap: :clap:

3 Sep 2009, 8:27 AM
#24
mattsun avatar

mattsun

New Zenner

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

Re: Nixaks Sagepay Form Module

great news:clap:

but I can't download it. it's said the file has been deleted on this server?

can anybody help me?

thanks:shocking:

3 Sep 2009, 8:54 AM
#25
nixak avatar

nixak

Zen Follower

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

Re: Nixaks Sagepay Form Module

Hmm wierd I have just checked and it downloaded fine for me, maybe ZC was having a funny turn lol, try again mattsun and let me what happens please.

4 Sep 2009, 2:04 AM
#26
mattsun avatar

mattsun

New Zenner

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

Re: Nixaks Sagepay Form Module

Hi Nixaks,

Thanks for your attention. It works now.:clap:

Great Job!

3 Nov 2009, 12:07 PM
#27
mattsun avatar

mattsun

New Zenner

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

Re: Nixaks Sagepay Form Module

Thanks a lot.

That's really helpful.

5 Nov 2009, 1:36 PM
#28
chrishart avatar

chrishart

New Zenner

Join Date:
Aug 2009
Posts:
6
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

Hi Nixaks, you say you are now successful in having the basket contents go through to the SagePay form. Has this version been released yet?

I've just downloaded 1.2 and using it with the Simulator, the Basket field reports: No Basket Contents provided. Field is optional. Is that because you've not yet released the fixed version or because I've not configured something properly?

Cheers.

5 Nov 2009, 5:36 PM
#29
nixak avatar

nixak

Zen Follower

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

Re: Nixaks Sagepay Form Module

Hi ChrisHart,

The basket contents version has not been released as I did not get a chance to test it and I found sooooooo many other things I could do with the module that I was trying to incorparate, however unfortunatly due to family and work taking up so much of my time I have not touched the module since september. In a couple of weeks I may have some time (as I am due 2 weeks off work:cool:) as long as the wife doesn't make us move home, which is what she is looking in to as I type this :frusty:.

6 Nov 2009, 1:16 PM
#30
chrishart avatar

chrishart

New Zenner

Join Date:
Aug 2009
Posts:
6
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

Ok, thanks Nixak. Can you remember if it was a simple mod to allow the basket details to come through? If so, maybe I could make a manual edit to your module until such time you release your next version.

Another question on the SagePay process if you don't mind. When using the simulator, it shows the success and failure URLs at the top of the page. The failure URL is listed as www.****.com/catalog/index.php?main_page=checkout_payment

If I choose to test an unauthorised payment in the simulator, the rejection url is correctly used and redirect the user back to the store and to step 2 of 3 - payment options. However, there are no warnings to indicate to the user that the payment was unauthorised which they may find confusing. Is this normal or do I need to configure/code something?

Cheers for any help.

6 Nov 2009, 9:17 PM
#31
nixak avatar

nixak

Zen Follower

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

Re: Nixaks Sagepay Form Module

The basket details code took me best part of 3 months to get working (although I am no coder) due to SagePay's strict formatting. I will try to realease the basket details version over this weekend or latest on Monday 9th Nov as I have the morning at home.

On your other question I descovered that Sagepay send back a coded message upon a failure, this message needs to be decoded (which is the easy part) but then it needs to be intergrated in to your database and zen cart session in order for it to display to the customer. This is some major coding for me and is what I was attempting to work out how to do before I became so busy with work and family. So hopefully with my 2 weeks off work coming up I can get some time (and headache tablets lol) and attempt to get this working.

Your interest in my module (and my wife's moaning lol) has given me the boost to dig out my old files (of which there are loads) and try to get this project finished, so I will find the time soon to get cracking on it.

8 Nov 2009, 7:46 PM
#32
chrishart avatar

chrishart

New Zenner

Join Date:
Aug 2009
Posts:
6
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

Sounds great Nixak. I'll wait with baited breath! :D

11 Nov 2009, 1:29 PM
#33
nixak avatar

nixak

Zen Follower

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

Re: Nixaks Sagepay Form Module

Hi all, I thought I had better explain why I have not released the basket details version yet, this is because whilst making the basket details work I (in my infinate wisdom :eek:) re-wrote the entire module. I must of had a mad moment when I did this :bangin: but the new Version 2.0 will include switches in the admin to allow you to do everything that SagePay allows, including overriding the AVS/CV2 settings, different payment types, allowing gift aid etc etc.

I still have two things to add to the module which is:

  1. Cards accepted and secured by SagePay sidebox.
  2. To decode and intergrate the infomation returned by SagePay so as the customer and the admin know whether there has been any problems with the payment.

If there is anything you would like to see added to the module please post your suggestions and I will try to incorperate them.

25 Nov 2009, 10:40 PM
#34
buzz1 avatar

buzz1

New Zenner

Join Date:
Nov 2009
Posts:
1
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

Hi,
I a bit confused, Sage pay is aimed at the UK market.
But after installing the plugin for sage pay it gives me the following option when I click edit on Net1 Payment Services in Zen Cart

Transaction Currency
The currency to use for credit card transactions
CAD & USD

Where is GBP?

The module I downloaded was loacated at http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_48&products_id=580

Zen Cart 1.38a

7 Dec 2009, 8:45 AM
#35
chrishart avatar

chrishart

New Zenner

Join Date:
Aug 2009
Posts:
6
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

Hows it going Nixak? Any progress? :)

9 Dec 2009, 2:53 PM
#36
kvwlls avatar

kvwlls

New Zenner

Join Date:
Jan 2009
Posts:
32
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

Hi Guys,

Need a little help on this mod - i've installed it and tested it using 'test' mode and all worked great.

However, as soon as i moved it into 'live' mode and tested a transaction, it returned with:

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

Any help appreciated!
Thanks,
Kev

https://www.sunplastics.co.uk

9 Dec 2009, 7:40 PM
#37
bunster avatar

bunster

New Zenner

Join Date:
Jan 2006
Posts:
40
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

Hi Kev,

Have you done ALL the required testing before trying to switch to live?
e.g. done refunds etc.
Sage Pay need you to do this bit before the live is REALLY live.

10 Dec 2009, 9:01 AM
#38
kvwlls avatar

kvwlls

New Zenner

Join Date:
Jan 2009
Posts:
32
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

Not to worry - it was Sagepay not getting their finger out quick enough! Sorted now!

23 Dec 2009, 11:31 AM
#39
asarfraz avatar

asarfraz

New Zenner

Join Date:
Dec 2009
Location:
Karachi Pakistan
Posts:
1
Plugin Contributions:
2

Re: Nixaks Sagepay Form Module

Hi everyone,

Nixak just wanted to tell you that you are doing a great service to a lot of people.

Just came across something and wanted to share with everyone.

The PHP base64_decode sometimes does not decrypt the encrypted message correctly (due to white spaces) thereby causing problems.

After going through Sage Pay Form sample code they provide on their website I found the following function which they use to decrpyt the encrypted response.

	function base64Decode($scrambled) {
	  $output = "";
	  $scrambled = str_replace(" ","+",$scrambled);
	  $output = base64_decode($scrambled);
	  return $output;
	}

If you add the above function to your class in the includes/modules/payment/sagepay_form.php and make the following change then I think this can help people who may encounter problems while decrypting the encrypted string.

On line 222 where you have the line

 $Decoded = $this->SimpleXor(base64_decode($crypt),MODULE_PAYMENT_SAGEPAY_FORM_PASSWORD);

you can change it to

$Decoded = $this->SimpleXor($this->base64Decode($crypt),MODULE_PAYMENT_SAGEPAY_FORM_PASSWORD);

Hope it helps.

Kind Regards,

Adeel

16 Jan 2010, 8:07 PM
#40
tammygrant avatar

tammygrant

New Zenner

Join Date:
May 2008
Posts:
10
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

Hello all, i am having issues installing the Sage Payment Solutions module for the payment processing company at https://www.SagePayments.com. I am assuming this SagePay you all are referring to is a different company?

thanks,