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

Nixaks Sagepay Form Module

Views: 60,942

Results 1 to 20 of 214
22 Jul 2009, 11:13 AM
#1
nixak avatar

nixak

Zen Follower

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

Nixaks Sagepay Form Module

Just thought I would let you all know that I have a Sagepay Form Module that is almost ready to be released :clap: I have checked this module on sagepay's simulater and their test site and all seems to be working well.

I will release the module as soon as I can get one little problem figured out (the send shopping cart details to sage pay is giving me a headache :blink: lol)

If you can help with the problem please see this post Send shopping cart details to sagepay problem

24 Jul 2009, 6:40 PM
#2
nixak avatar

nixak

Zen Follower

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

Re: Nixaks Sagepay Form Module

Version 1.0 of this module has been submitted to the downloads section: http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1385

Note. version 1.0 does not upload the Shopping Cart/ Basket details to SagePay, hopefully this will be implimented in a future version

26 Jul 2009, 5:50 PM
#3
nixak avatar

nixak

Zen Follower

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

Re: Nixaks Sagepay Form Module

Version 1.1 released.

Changes:

Tidied up the coding.
Billing address phone number now being recieved by Sage Pay simulator.
Delivery address line 2 now being recieved by Sage Pay simulator.

Important Notes:

Sage Pay do not seem to accept the "any currency" setting, please leave the setting on "default currency"

Sage Pay simulator uses a different password to the test & live servers. Simulator password is supplied below the error message when you use the simulator.

Version 1.1 does not upload the Shopping Cart/ Basket details to SagePay, hopefully this will be implimented in a future version.

27 Jul 2009, 1:39 PM
#4
peanut77 avatar

peanut77

Zen Follower

Join Date:
Feb 2005
Posts:
266
Plugin Contributions:
0

Re: Nixaks Sagepay Form Module

Hi Nix

Just downloaded an tested this - everything is fine but no order email is sent after returning to the store.

If I pay by cheque an order email goes out - if I pay by sage pay - I get an email from sage pay but not the store? I am returned successfully and the order details are recorded in the back office - any ideas?

27 Jul 2009, 5:06 PM
#5
nixak avatar

nixak

Zen Follower

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

Re: Nixaks Sagepay Form Module

Hi Peanut77, thank you for letting me know, I will look into it and let you know asap.

5 Aug 2009, 2:06 PM
#6
optimalwebsite avatar

optimalwebsite

New Zenner

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

Re: Nixaks Sagepay Form Module

Hi there,

I've setup the module (thanks works well!) but when the purchaser returns to zen cart, there is no order number, and no record of the purchase on the zen cart admin panel... any ideas why that might be?

5 Aug 2009, 7:10 PM
#7
davetherave77 avatar

davetherave77

New Zenner

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

Re: Nixaks Sagepay Form Module

i'm attempting to get my website https://www.windowcleaningcoach.com/zencart to use sage pay form simulator

Apparently i need to place this: 'https://test.sagepay.com/Simulator/VSPFormGateway.asp'

somewhere, maybe in the action part of the form tag??

basically i don't know where the location is that i should place
'https://test.sagepay.com/Simulator/VSPFormGateway.asp'

has anyone any ideas?

5 Aug 2009, 7:38 PM
#8
kuroi avatar

kuroi

Totally Zenned

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

Re: Nixaks Sagepay Form Module

Are you using a SagePay add-on mod, or trying to build one yourself?

5 Aug 2009, 7:50 PM
#9
davetherave77 avatar

davetherave77

New Zenner

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

Re: Nixaks Sagepay Form Module

i'm using at the moment nixaks sage pay form module. i don't have anywhere near the knowledge required to do one myself.

6 Aug 2009, 7:16 AM
#10
optimalwebsite avatar

optimalwebsite

New Zenner

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

Re: Nixaks Sagepay Form Module

Hi guys,

hmm.... switched back to Sage Pay test mode... same problem still there... I altered the settings on the stock page (under config) ... maybe that's the problem... any suggestions?

Warm Regards,

Joel

6 Aug 2009, 7:55 AM
#11
optimalwebsite avatar

optimalwebsite

New Zenner

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

Re: Nixaks Sagepay Form Module

Hi Dave,

I'm doing the same thing.

Download the module, unzip, read the readme, then upload the two files to their correct locations.

Login to Zen Cart, go to modules, payment, there should be a new module called Sage Pay at the bottom. This is what you install.

Type in the relavant details (username and the encryption password from Sage Pay)

Set it to test mode.

Go to your shop, buy something, when you get to sage pay, you MUST ENTER THE DEMO CARD DETAILS shown in the Zen Cart Sagepay screen- the card start and expiry date can be whatever, but you need to cut and paste the other details.

Complete the test transaction.

Login to Sagepay. Check it's all gone through ok.

You need to do a demo transaction and refund it before the account can go live, so find the tranaction, open it, and click where it says refund.

Then ring up Sage Pay, get them to upgrade the account.

In Zen Cart, set Sage Pay to live...

Do another transaction, refund it as above, and that should be it!

Good luck!

Warm Regards,

Joel

6 Aug 2009, 12:33 PM
#12
nixak avatar

nixak

Zen Follower

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

Re: Nixaks Sagepay Form Module

Hi, sorry i've not been around. Dave you have a pm :D

6 Aug 2009, 12:38 PM
#13
nixak avatar

nixak

Zen Follower

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

Re: Nixaks Sagepay Form Module

optimalwebsite:

Hi there,

I've setup the module (thanks works well!) but when the purchaser returns to zen cart, there is no order number, and no record of the purchase on the zen cart admin panel... any ideas why that might be?

It all worked at first but now I have the same problem lol typical

I will have some time this weekend and I will do my best to find out what has happened.

Peanut77 I am still looking in to the email problem but from what I've found so far the payment module should not have anything to do with emails ..... I will keep looking though.

6 Aug 2009, 1:39 PM
#14
optimalwebsite avatar

optimalwebsite

New Zenner

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

Re: Nixaks Sagepay Form Module

IMPORTANT! The Sagepay technical support line has been engaged all afternoon, so this may be a problem at their end and they're struggling to cope with the deluge of calls for help...

6 Aug 2009, 1:56 PM
#15
nixak avatar

nixak

Zen Follower

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

Re: Nixaks Sagepay Form Module

optimalwebsite:

IMPORTANT! The Sagepay technical support line has been engaged all afternoon, so this may be a problem at their end and they're struggling to cope with the deluge of calls for help...

Sage Pay are very busy at the moment due to an unexpected huge increase in people using their service's after they re-named from Protx. They are training up new advisors but it will be a little while before they are ready.

Unfortunatly as they do not and will not create modules (all the modules on their site were created by the e-commerce sites involved) they are unable to help. Thank you for the post though optimalwebsite :clap: as if I had not known it would have been extremly usefull.

I have contacted DrByte to see if I missed anything in the coding (this is my first ever mod) and hopefully we will have this fixed very soon.

6 Aug 2009, 10:10 PM
#16
davetherave77 avatar

davetherave77

New Zenner

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

Re: Nixaks Sagepay Form Module

thanks guys for the advice, its all a bit confusing for me, but i think i'm back on track now and i've got the module working thanks to you.

7 Aug 2009, 2:25 PM
#17
optimalwebsite avatar

optimalwebsite

New Zenner

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

Re: Nixaks Sagepay Form Module

Hi Dave,

I've emailed over some new very detailed setup instructions... but if it helps anyone else I'll put them here too:

ZEN CART SAGEPAY FORM

Designed by: Jeramie Risinger, gapc23, Bean Fairbanks
License: This product licensed under the GPL. See attached license for information.

========================================================

BEGIN BY PRINTING THIS, IT'S FAR EASIER TO REFER TO THIS IN YOUR HANDS THAN ON SCREEN.

========================================================

HISTORY:

22/07/2009 - Initial Release, version 1.0

========================================================

REQUIREMENTS:

*SagePay Form account

*cURL is required and MUST be compiled into PHP with SSL support

*SSL Certificate

*Port 43924 open for bi directional communication

========================================================

NOTES:

SagePay is the new name for Protx.

This module can be used on any one of the three modes that SagePay offer (simulation, test or live.)

========================================================

HOW IT WORKS:

Customers confirm a purchase in your shop, when they checkout the amount and
address is forwarded to the SagePay website. The client then enters their bank account
details. SagePay communicates with the customer's bank, then returns the customer
back to your shop. SagePay sends out a confirmation email, as does Zen Cart, and you
can then administer the transaction from the admin screen.

========================================================

NEW FILES:

includes/modules/payment/sagepay_form.php
includes/languages/english/modules/payment/sagepay_form.php

========================================================

MODIFIED FILES:

None

========================================================

INSTALLATION:

The files are arranged in the same structure as Zen-Cart v1.3.8a

When you open the SagePay_Form, you'll see a folder called "includes"
copy this into the root of your shop, so it merges with the existing
folder called "includes".

Login to the admin section of your zen cart shop. Go to "Modules", then "Payment"

Select SagePay_Form from the list.

========================================================

SETUP:

Set enable mode to "true".

Enter your SagePay vendor name.

Enter the encryption password provided by SagePay which is unique to your shop.

Set transaction mode to "test".

========================================================

TEST MODE:

SagePay require you to complete at least one payment in test mode & refund it before you can use their live server.

Leave the admin screen and go back to the front end of your shop. Make a purchase with SagePay as you would as if you're a customer.

When you hit the final checkout button you'll be directed to the SagePay test server, which has "test" written on the background.

DO NOT ENTER REAL CREDIT CARD DETAILS ON THE TEST SERVER, THEY WILL NOT WORK.

Select a credit card type to pay with and use the corresponding card number:

VISA - 4929000000006
MASTERCARD - 5404000000000001
DELTA - 4462000000000003
SOLO - 6334900000000005 - Issue 01
DOMESTIC MAESTRO - 5641820000000005 - Issue 01
AMEX - 374200000000004
ELECTRON - 4917300000000008
JCB - 3569990000000009
DINERS - 36000000000008

The "valid from" and "expires" date can be anything.

You will also need to supply the following values for CV2, Billing Address Numbers
and Billing Post Code Numbers.
These are the only values which will return as Matched.
Any other values will return as Not Matched.

CV2 - 123
Billing Address Numbers - 88
Billing Post Code Numbers - 412
You will also need to enter the 3D Secure password as " password " (it is case sensitive)
so that the 3D Secure authentication returns Fully Authenticated.

When testing be careful when repeatedly buying the same dummy product, this can create
problems producing an order number when you return to your website after the
transaction has been completed.

========================================================

SAGEPAY:

Login to SagePay (Google "Login to SagePay" to find the relevant screen) with your username and password.

Note: don't do this with your "main" admin identity, instead you should setup another identity with your admin account, give it all permissions by ticking the row of boxes, and login as this.

Search for the transaction, select it, open it, and refund it.

Now contact SagePay (tel: 0845 0554454 ) and tell them you're ready to go live.

Then you're good to go back to the admin screen, modules, payments, SagePay, transaction mode, and change over to "live".

8 Aug 2009, 8:59 AM
#18
optimalwebsite avatar

optimalwebsite

New Zenner

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

Re: Nixaks Sagepay Form Module

Hi there,

Any news? I hope its going well!

Joel

8 Aug 2009, 1:03 PM
#19
nixak avatar

nixak

Zen Follower

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

Re: Nixaks Sagepay Form Module

After several days of pulling my hair out :frusty: I have fixed the problems :clap:

Version 1.2 has been submitted and should be available very soon. Thank you to peanut77 & optimalwebsite for helping me go bald lol. The readme file has also been updated - Thank you to optimalwebsite for suggesting the changes.

PLEASE uninstall any older versions (remembering to backup your store and database first) before installing v1.2

10 Aug 2009, 9:13 AM
#20
chrishart avatar

chrishart

New Zenner

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

Re: Nixaks Sagepay Form Module

Nixak:

Version 1.1 released.
Version 1.1 does not upload the Shopping Cart/ Basket details to SagePay, hopefully this will be implimented in a future version.

Hi, I was just wondering if this is resolved in 1.2 as there is no note on your 1.2 post. If it isn't resolved, could you please explain what problem this would cause to a store owner? Would they have problems matching orders with payments?

Cheers,

Chris